SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 6) Function materialize (alias x) (children 1) ExpressionList (children 1) Function toDateTime (children 1) ExpressionList (children 2) Literal UInt64_0 Literal \'Asia/Istanbul\' Function toDecimal64 (alias y) (children 1) ExpressionList (children 2) Literal UInt64_1 Literal UInt64_0 Function if (alias z) (children 1) ExpressionList (children 3) Function equals (children 1) ExpressionList (children 2) Identifier x Literal UInt64_0 Identifier x Identifier y Function toTypeName (children 1) ExpressionList (children 1) Identifier x Function toTypeName (children 1) ExpressionList (children 1) Identifier y Function toTypeName (children 1) ExpressionList (children 1) Identifier z