CreateQuery topk_test (children 3)
 Identifier topk_test
 Columns definition (children 1)
  ExpressionList (children 2)
   ColumnDeclaration foo (children 1)
    DataType UInt64
   ColumnDeclaration top_items (children 1)
    DataType AggregateFunction (children 1)
     ExpressionList (children 3)
      Function topKWeighted (children 1)
       ExpressionList (children 3)
        Literal UInt64_100
        Literal UInt64_3
        Literal \'counts\'
      DataType String
      DataType UInt64
 Storage definition (children 2)
  Function AggregatingMergeTree (children 1)
   ExpressionList
  Identifier foo
