This is the case of a player who is getting shafted by the Rockets and has decided to go a different direction.
Hoopshype mentioned that the rockets rescinded their most recent offer.
https://hoopshype.com/player/donatas-motiejunas/
Signing him for anything more than a year doesn't make much sense. But signing him for the rest of this season could be a good pickup. Diaw and Lyles already play similar roles, but he is 7'0" tall and has a nice stroke from the outside. He is a promising player. If it's not the Jazz, then I am sure someone will be happy with him.