SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 3)
   ExpressionList (children 1)
    Asterisk
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Function view (children 1)
       ExpressionList (children 1)
        SelectWithUnionQuery (children 1)
         ExpressionList (children 1)
          SelectQuery (children 2)
           ExpressionList (children 2)
            Identifier id
            Function toDateTime (alias date) (children 1)
             ExpressionList (children 1)
              Identifier date
           TablesInSelectQuery (children 1)
            TablesInSelectQueryElement (children 1)
             TableExpression (children 1)
              Function view (children 1)
               ExpressionList (children 1)
                SelectWithUnionQuery (children 1)
                 ExpressionList (children 1)
                  SelectQuery (children 1)
                   ExpressionList (children 2)
                    Literal UInt64_1 (alias id)
                    Literal \'2024-05-02\' (alias date)
   Function equals (children 1)
    ExpressionList (children 2)
     Identifier date
     Literal \'2024-05-02\'
