SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 4) ExpressionList (children 1) Function toInt64 (alias cast_res) (children 1) ExpressionList (children 1) Identifier lookup_res TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Subquery (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 3) ExpressionList (children 2) Function indexOf (alias val_idx) (children 1) ExpressionList (children 2) Identifier field_id Literal UInt64_10 Function arrayElement (alias lookup_res) (children 1) ExpressionList (children 2) Literal Array_[\'110\'] Identifier val_idx TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Subquery (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) Function arrayJoin (alias field_id) (children 1) ExpressionList (children 1) Literal Array_[Array_[UInt64_10], Array_[UInt64_15]] Function notEquals (children 1) ExpressionList (children 2) Identifier val_idx Literal UInt64_0 Function greater (children 1) ExpressionList (children 2) Identifier cast_res Literal UInt64_0 Set