v.22.3Backward Incompatible Changes
Make arrayCompact Function Consistent with Higher-Order Functions
MakearrayCompactfunction behave as other higher-order functions: perform compaction not of lambda function results but on the original array. If you're using nontrivial lambda functions in arrayCompact you may restore old behaviour by wrappingarrayCompactarguments intoarrayMap. Closes #34010 #18535 #14778. #34795 (Alexandre Snarskii).