SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 3) Literal Array_[UInt64_1, UInt64_2, UInt64_3, UInt64_1, UInt64_3] (alias a) Function indexOf (alias offset_from_right) (children 1) ExpressionList (children 2) Function arrayReverse (children 1) ExpressionList (children 1) Function arraySlice (children 1) ExpressionList (children 3) Identifier a Literal UInt64_1 Literal Int64_-1 Literal UInt64_3 Function arraySlice (children 1) ExpressionList (children 2) Identifier a Function multiIf (children 1) ExpressionList (children 3) Function equals (children 1) ExpressionList (children 2) Identifier offset_from_right Literal UInt64_0 Literal UInt64_1 Function plus (children 1) ExpressionList (children 2) Function minus (children 1) ExpressionList (children 2) Function length (children 1) ExpressionList (children 1) Identifier a Identifier offset_from_right Literal UInt64_1