SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 4) Function arrayReduce (alias a) (children 1) ExpressionList (children 2) Literal \'uniq\' Literal Array_[UInt64_1, UInt64_2, UInt64_1] Function arrayReduce (alias b) (children 1) ExpressionList (children 3) Literal \'uniq\' Literal Array_[UInt64_1, UInt64_2, UInt64_2, UInt64_1] Literal Array_[\'hello\', \'world\', \'\', \'\'] Function arrayReduce (alias c) (children 1) ExpressionList (children 3) Literal \'uniqUpTo(5)\' Literal Array_[UInt64_1, UInt64_2, UInt64_2, UInt64_1] Function materialize (children 1) ExpressionList (children 1) Literal Array_[\'hello\', \'world\', \'\', \'\'] Function arrayReduce (alias d) (children 1) ExpressionList (children 3) Literal \'uniqExactIf\' Literal Array_[UInt64_1, UInt64_2, UInt64_3, UInt64_4] Literal Array_[UInt64_1, UInt64_0, UInt64_1, UInt64_1]