SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 1) Function mapApply (children 1) ExpressionList (children 2) Function lambda (children 1) ExpressionList (children 2) Function tuple (children 1) ExpressionList (children 2) Identifier k Identifier v Function tuple (children 1) ExpressionList (children 2) Identifier k Function finalizeAggregation (children 1) ExpressionList (children 1) Identifier v Identifier x TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier test