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 2)
                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_0, UInt64_1]
                SelectQuery (children 1)
                 ExpressionList (children 2)
                  Literal UInt64_2
                  Function deltaSumState (alias rows) (children 1)
                   ExpressionList (children 1)
                    Function arrayJoin (children 1)
                     ExpressionList (children 1)
                      Literal Array_[UInt64_4, UInt64_5]
          ExpressionList (children 1)
           OrderByElement (children 1)
            Identifier x
   ExpressionList (children 1)
    OrderByElement (children 1)
     Identifier delta_sum
