SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 1)
   ExpressionList (children 1)
    Function sequenceCount (children 1)
     ExpressionList (children 1)
      Function CAST (children 1)
       ExpressionList (children 2)
        Function tuple (children 1)
         ExpressionList (children 2)
          Subquery (alias rg) (children 1)
           SelectWithUnionQuery (children 1)
            ExpressionList (children 1)
             SelectQuery (children 1)
              ExpressionList (children 1)
               Literal NULL
          Subquery (children 1)
           SelectWithUnionQuery (children 1)
            ExpressionList (children 1)
             SelectQuery (children 1)
              ExpressionList (children 5)
               Subquery (children 1)
                SelectWithUnionQuery (children 1)
                 ExpressionList (children 1)
                  SelectQuery (children 1)
                   ExpressionList (children 5)
                    Function array (children 1)
                     ExpressionList
                    Literal \'<e\'
                    Function caseWithExpr (children 1)
                     ExpressionList (children 3)
                      Literal Array_[NULL]
                      Literal Float64_-588755.149
                      Function array (children 1)
                       ExpressionList
                    Function retention (children 1)
                     ExpressionList (children 3)
                      Function addWeeks (children 1)
                       ExpressionList (children 2)
                        Function CAST (children 1)
                         ExpressionList (children 2)
                          Literal Float64_-7644612.39732
                          Literal \'DateTime\'
                        Literal Float64_-23578040.02833
                      Function CAST (children 1)
                       ExpressionList (children 2)
                        Function array (children 1)
                         ExpressionList
                        Literal \'DateTime\'
                      Function CAST (children 1)
                       ExpressionList (children 2)
                        Literal Array_[Float64_10977.08]
                        Literal \'String\'
                    Function emptyArrayToSingle (children 1)
                     ExpressionList (children 1)
                      Literal \'\'
               Literal \'\\0\'
               Function toUInt64 (children 1)
                ExpressionList (children 2)
                 Function array (children 1)
                  ExpressionList
                 Literal \'t3hw@\'
               Literal \'\\0\'
               Function toStartOfQuarter (children 1)
                ExpressionList (children 2)
                 Literal Float64_-4230.1872
                 Function array (children 1)
                  ExpressionList
        Literal \'Date\'
