CreateQuery x (children 3)
 Identifier x
 Columns definition (children 3)
  ExpressionList (children 1)
   ColumnDeclaration i (children 1)
    DataType int
  ExpressionList (children 1)
   Index (children 2)
    Function LOG2 (children 1)
     ExpressionList (children 1)
      Identifier i
    Function minmax (children 1)
     ExpressionList
  ExpressionList (children 1)
   Projection (children 1)
    ProjectionSelectQuery (children 1)
     ExpressionList (children 1)
      Function MAX (children 1)
       ExpressionList (children 1)
        Identifier i
 Storage definition (children 2)
  Function ReplicatedMergeTree (children 1)
   ExpressionList (children 2)
    Literal \'/clickhouse/tables/{database}/x\'
    Literal \'r\'
  Identifier i
