InsertQuery   (children 2)
 Identifier topk_test
 SelectWithUnionQuery (children 1)
  ExpressionList (children 1)
   SelectQuery (children 2)
    ExpressionList (children 2)
     Literal UInt64_10 (alias foo)
     Function topKWeightedState (children 2)
      ExpressionList (children 2)
       Identifier item
       Function toUInt64 (children 1)
        ExpressionList (children 1)
         Literal UInt64_10
      ExpressionList (children 3)
       Literal UInt64_100
       Literal UInt64_3
       Literal \'counts\'
    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 item) (children 1)
             ExpressionList (children 1)
              Literal Array_[\'z\', \'z\', \'z\', \'w\', \'w\', \'w\', \'y\', \'y\', \'y\', \'d\', \'d\', \'e\', \'e\']
