SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 4)
   ExpressionList (children 2)
    Identifier _table
    Identifier key
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier 02987_logical_optimizer_merge
   Function or (children 1)
    ExpressionList (children 3)
     Function equals (children 1)
      ExpressionList (children 2)
       Identifier _table
       Function toFixedString (children 1)
        ExpressionList (children 2)
         Function toFixedString (children 1)
          ExpressionList (children 2)
           Function toFixedString (children 1)
            ExpressionList (children 2)
             Literal \'v1\'
             Function toNullable (children 1)
              ExpressionList (children 1)
               Literal UInt64_2
           Literal UInt64_2
         Literal UInt64_2
     Function and (children 1)
      ExpressionList (children 2)
       Function equals (children 1)
        ExpressionList (children 2)
         Identifier value
         Function toLowCardinality (children 1)
          ExpressionList (children 1)
           Function toNullable (children 1)
            ExpressionList (children 1)
             Literal UInt64_10
       Function equals (children 1)
        ExpressionList (children 2)
         Identifier _table
         Function toFixedString (children 1)
          ExpressionList (children 2)
           Function toNullable (children 1)
            ExpressionList (children 1)
             Literal \'v3\'
           Literal UInt64_2
     Function and (children 1)
      ExpressionList (children 3)
       Function equals (children 1)
        ExpressionList (children 2)
         Identifier value
         Literal UInt64_20
       Function equals (children 1)
        ExpressionList (children 2)
         Identifier _table
         Function toFixedString (children 1)
          ExpressionList (children 2)
           Function toFixedString (children 1)
            ExpressionList (children 2)
             Function toFixedString (children 1)
              ExpressionList (children 2)
               Literal \'v1\'
               Literal UInt64_2
             Literal UInt64_2
           Literal UInt64_2
       Function equals (children 1)
        ExpressionList (children 2)
         Identifier _table
         Function toFixedString (children 1)
          ExpressionList (children 2)
           Function toLowCardinality (children 1)
            ExpressionList (children 1)
             Function toFixedString (children 1)
              ExpressionList (children 2)
               Literal \'v3\'
               Literal UInt64_2
           Literal UInt64_2
   Set
