SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 2) Function and (children 1) ExpressionList (children 2) Function materialize (children 1) ExpressionList (children 1) Literal UInt64_100000000 Literal UInt64_0 Function arrayFold (children 1) ExpressionList (children 3) Function lambda (children 1) ExpressionList (children 2) Function tuple (children 1) ExpressionList (children 2) Identifier acc Identifier x Identifier x Literal Array_[UInt64_0, UInt64_1] Function toUInt8 (children 1) ExpressionList (children 1) Literal UInt64_0