CreateQuery tp (children 3)
 Identifier tp
 Columns definition (children 2)
  ExpressionList (children 4)
   ColumnDeclaration type (children 1)
    DataType Int32
   ColumnDeclaration eventcnt (children 1)
    DataType UInt64
   ColumnDeclaration sign (children 1)
    DataType Int8
   ColumnDeclaration version (children 1)
    DataType UInt8
  ExpressionList (children 1)
   Projection (children 1)
    ProjectionSelectQuery (children 2)
     ExpressionList (children 2)
      Identifier type
      Function sum (children 1)
       ExpressionList (children 1)
        Identifier eventcnt
     ExpressionList (children 1)
      Identifier type
 Storage definition (children 3)
  Function VersionedCollapsingMergeTree (children 1)
   ExpressionList (children 2)
    Identifier sign
    Identifier version
  Identifier type
  Set
