SelectWithUnionQuery (children 2)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 1)
    Asterisk (children 1)
     ColumnsTransformerList (children 1)
      ColumnsApplyTransformer
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Subquery (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 2)
          ExpressionList (children 1)
           Function CAST (alias nt) (children 1)
            ExpressionList (children 2)
             Literal \'(1, 2)\'
             Literal \'Tuple(a int, b int)\'
          ExpressionList (children 3)
           Function CAST (alias x) (children 1)
            ExpressionList (children 2)
             Function uniqState (children 1)
              ExpressionList (children 1)
               Identifier nt
             Literal \'AggregateFunction(uniq, Tuple(int, int))\'
           Function CAST (alias y) (children 1)
            ExpressionList (children 2)
             Function uniqState (children 1)
              ExpressionList (children 1)
               Function array (children 1)
                ExpressionList (children 1)
                 Identifier nt
             Literal \'AggregateFunction(uniq, Array(Tuple(int, int)))\'
           Function CAST (alias z) (children 1)
            ExpressionList (children 2)
             Function uniqState (children 1)
              ExpressionList (children 1)
               Function map (children 1)
                ExpressionList (children 2)
                 Identifier nt
                 Identifier nt
             Literal \'AggregateFunction(uniq, Map(Tuple(int, int), Tuple(int, int)))\'
 Identifier JSONEachRow
