SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 2)
    Identifier event_date
    Function caseWithExpression (alias event_type) (children 1)
     ExpressionList (children 6)
      Identifier event_date
      Function toDate (children 1)
       ExpressionList (children 1)
        Literal \'2024-03-10\'
      Literal \'Special day\'
      Function toDate (children 1)
       ExpressionList (children 1)
        Literal \'2024-03-12\'
      Literal \'Today\'
      Literal \'Normal Day\'
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Subquery (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 1)
          ExpressionList (children 1)
           Function arrayJoin (alias event_date) (children 1)
            ExpressionList (children 1)
             Function array (children 1)
              ExpressionList (children 3)
               Function toDate (children 1)
                ExpressionList (children 1)
                 Literal \'2024-03-10\'
               Function toDate (children 1)
                ExpressionList (children 1)
                 Literal \'2024-03-11\'
               Function toDate (children 1)
                ExpressionList (children 1)
                 Literal \'2024-03-12\'
