SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 6) Identifier x Identifier t Function round (children 1) ExpressionList (children 2) Identifier sum Literal UInt64_12 Function round (children 1) ExpressionList (children 2) Identifier max Literal UInt64_12 Function round (children 1) ExpressionList (children 2) Identifier count Literal UInt64_12 Function round (children 1) ExpressionList (children 2) Identifier avg Literal UInt64_12 TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Subquery (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 3) ExpressionList (children 6) Function arrayElement (alias x) (children 1) ExpressionList (children 2) Identifier d Literal UInt64_1 Function arrayElement (alias t) (children 1) ExpressionList (children 2) Identifier d Literal UInt64_2 Function exponentialTimeDecayedSum (alias sum) (children 2) ExpressionList (children 2) Identifier x Identifier t ExpressionList (children 1) Literal UInt64_100 Function exponentialTimeDecayedMax (alias max) (children 2) ExpressionList (children 2) Identifier x Identifier t ExpressionList (children 1) Literal UInt64_100 Function exponentialTimeDecayedCount (alias count) (children 2) ExpressionList (children 1) Identifier t ExpressionList (children 1) Literal UInt64_100 Function exponentialTimeDecayedAvg (alias avg) (children 2) ExpressionList (children 2) Identifier x Identifier t ExpressionList (children 1) Literal UInt64_100 TablesInSelectQuery (children 2) TablesInSelectQueryElement (children 1) TableExpression (children 1) Subquery (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) Literal Array_[Array_[UInt64_2, UInt64_1], Array_[UInt64_1, UInt64_2], Array_[UInt64_0, UInt64_3], Array_[UInt64_4, UInt64_4], Array_[UInt64_5, UInt64_5], Array_[UInt64_1, UInt64_6], Array_[UInt64_0, UInt64_7], Array_[UInt64_10, UInt64_8]] (alias d) TablesInSelectQueryElement (children 1) ArrayJoin (children 1) ExpressionList (children 1) Identifier d ExpressionList (children 1) WindowListElement