SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 3) ExpressionList (children 1) Function deltaSumMerge (alias delta_sum) (children 1) ExpressionList (children 1) Identifier rows TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Subquery (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Subquery (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 2) SelectQuery (children 1) ExpressionList (children 2) Literal UInt64_1 (alias x) Function deltaSumState (alias rows) (children 1) ExpressionList (children 1) Function arrayJoin (children 1) ExpressionList (children 1) Literal Array_[Float64_0.1, Float64_0.3, Float64_0.5] SelectQuery (children 1) ExpressionList (children 2) Literal UInt64_2 Function deltaSumState (alias rows) (children 1) ExpressionList (children 1) Function arrayJoin (children 1) ExpressionList (children 1) Literal Array_[Float64_4.1, Float64_5.1, Float64_6.6] ExpressionList (children 1) OrderByElement (children 1) Identifier x ExpressionList (children 1) OrderByElement (children 1) Identifier delta_sum