SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 5)
   ExpressionList (children 1)
    Function dynamicType (children 1)
     ExpressionList (children 1)
      Identifier d2
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier test
   ExpressionList (children 1)
    Function dynamicType (children 1)
     ExpressionList (children 1)
      Identifier d2
   Function or (children 1)
    ExpressionList (children 2)
     Literal UInt64_0
     Function equals (children 1)
      ExpressionList (children 2)
       Function equals (children 1)
        ExpressionList (children 2)
         Function materialize (children 1)
          ExpressionList (children 1)
           Function toLowCardinality (children 1)
            ExpressionList (children 1)
             Literal UInt64_0
         Literal UInt64_0
       Function anyLast (children 1)
        ExpressionList (children 1)
         Literal UInt64_0
   ExpressionList (children 1)
    OrderByElement (children 1)
     Literal UInt64_1
