SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 3)
   ExpressionList (children 1)
    Function deltaSumMerge (alias delta_sum) (children 1)
     ExpressionList (children 1)
      Identifier rows
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Subquery (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 3)
          ExpressionList (children 1)
           Asterisk
          TablesInSelectQuery (children 1)
           TablesInSelectQueryElement (children 1)
            TableExpression (children 1)
             Subquery (children 1)
              SelectWithUnionQuery (children 1)
               ExpressionList (children 3)
                SelectQuery (children 1)
                 ExpressionList (children 2)
                  Literal UInt64_1 (alias x)
                  Function deltaSumState (alias rows) (children 1)
                   ExpressionList (children 1)
                    Function arrayJoin (children 1)
                     ExpressionList (children 1)
                      Literal Array_[UInt64_3, UInt64_5]
                SelectQuery (children 1)
                 ExpressionList (children 2)
                  Literal UInt64_3
                  Function deltaSumState (alias rows) (children 1)
                   ExpressionList (children 1)
                    Function arrayJoin (children 1)
                     ExpressionList (children 1)
                      Literal Array_[UInt64_4, UInt64_6]
                SelectQuery (children 2)
                 ExpressionList (children 2)
                  Literal UInt64_2
                  Function deltaSumState (alias rows) (children 1)
                   ExpressionList (children 1)
                    Asterisk
                 Function equals (children 1)
                  ExpressionList (children 2)
                   Identifier delta_sum
                   Function ignore (children 1)
                    ExpressionList (children 1)
                     Function ignore (children 1)
                      ExpressionList (children 18)
                       Function materialize (children 1)
                        ExpressionList (children 1)
                         Literal UInt64_1023
                       Asterisk
                       Asterisk
                       Function toUInt256 (children 1)
                        ExpressionList (children 1)
                         Literal UInt64_10
                       Asterisk
                       Asterisk
                       Literal UInt64_10
                       Asterisk
                       Function toUInt256 (children 1)
                        ExpressionList (children 1)
                         Function toUInt128 (children 1)
                          ExpressionList (children 1)
                           Literal UInt64_10
                       Function isNotNull (children 1)
                        ExpressionList (children 1)
                         Literal UInt64_10
                       Literal UInt64_10
                       Literal UInt64_10
                       Literal UInt64_10
                       Literal UInt64_10
                       Function materialize (children 1)
                        ExpressionList (children 1)
                         Function toNullable (children 1)
                          ExpressionList (children 1)
                           Function toUInt128 (children 1)
                            ExpressionList (children 1)
                             Literal UInt64_10
                       Asterisk
                       Function isNullable (children 1)
                        ExpressionList (children 1)
                         Literal NULL
                       Literal UInt64_10
          ExpressionList (children 3)
           OrderByElement (children 1)
            Literal UInt64_1
           OrderByElement (children 1)
            Function ignore (children 1)
             ExpressionList (children 17)
              Asterisk
              Asterisk
              Literal UInt64_10
              Asterisk
              Literal UInt64_10
              Literal UInt64_10
              Literal UInt64_10
              Literal UInt64_10
              Literal UInt64_10
              Asterisk
              Function toUInt128 (children 1)
               ExpressionList (children 1)
                Literal UInt64_10
              Literal UInt64_10
              Asterisk
              Literal UInt64_10
              Function isNull (children 1)
               ExpressionList (children 1)
                Literal NULL
              Literal UInt64_10
              Literal UInt64_10
           OrderByElement (children 1)
            Identifier x
   ExpressionList (children 1)
    OrderByElement (children 1)
     Identifier ALL
