v.25.10Bug Fix (user-visible misbehavior in an official stable release)

Remove injective functions

Don't remove injective functions from GROUP BY if arguments types are not allowed in GROUP BY. #87958 (Pavel Kruglov).