SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 3) ExpressionList (children 2) Function toTimeZone (alias converted) (children 1) ExpressionList (children 2) Identifier timestamp Literal \'America/Sao_Paulo\' Identifier timestamp (alias original) TablesInSelectQuery (children 2) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier test TablesInSelectQueryElement (children 2) TableExpression (children 1) Subquery (alias anything) (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) Literal UInt64_2 (alias x) TableJoin (children 1) Function equals (children 1) ExpressionList (children 2) Identifier x Identifier i Function greaterOrEquals (children 1) ExpressionList (children 2) Identifier timestamp Literal \'2020-05-13T00:00:00\'