InsertQuery   (children 2)
 Identifier test_smt
 SelectWithUnionQuery (children 1)
  ExpressionList (children 1)
   SelectQuery (children 3)
    ExpressionList (children 3)
     Identifier id
     Function sumMap (children 1)
      ExpressionList (children 1)
       Identifier k
     Function sumMapState (children 1)
      ExpressionList (children 1)
       Identifier k
    TablesInSelectQuery (children 1)
     TablesInSelectQueryElement (children 1)
      TableExpression (children 1)
       Subquery (children 1)
        SelectWithUnionQuery (children 1)
         ExpressionList (children 1)
          SelectQuery (children 1)
           ExpressionList (children 2)
            Literal UInt64_2 (alias id)
            Function arrayJoin (alias k) (children 1)
             ExpressionList (children 1)
              Function array (children 1)
               ExpressionList (children 2)
                Function tuple (children 1)
                 ExpressionList (children 2)
                  Literal Array_[UInt64_0]
                  Literal Array_[UInt64_1]
                Function tuple (children 1)
                 ExpressionList (children 2)
                  Literal Array_[UInt64_0, UInt64_25]
                  Function array (children 1)
                   ExpressionList (children 2)
                    Literal Int64_-1
                    Function toInt64 (children 1)
                     ExpressionList (children 1)
                      Literal UInt64_1
    ExpressionList (children 2)
     Identifier id
     Function rowNumberInAllBlocks (children 1)
      ExpressionList
