CreateQuery derived_metrics_local (children 3)
 Identifier derived_metrics_local
 Columns definition (children 1)
  ExpressionList (children 3)
   ColumnDeclaration timestamp (children 1)
    DataType DateTime
   ColumnDeclaration timestamp_h (children 2)
    DataType DateTime
    Function toStartOfHour (children 1)
     ExpressionList (children 1)
      Identifier timestamp
   ColumnDeclaration bytes (children 1)
    DataType UInt64
 Storage definition (children 4)
  Function SummingMergeTree (children 1)
   ExpressionList
  Function toYYYYMMDD (children 1)
   ExpressionList (children 1)
    Identifier timestamp
  Function tuple (children 1)
   ExpressionList (children 2)
    Identifier timestamp_h
    Identifier timestamp
  ExpressionList (children 1)
   TTLElement (children 1)
    Function plus (children 1)
     ExpressionList (children 2)
      Function toStartOfHour (children 1)
       ExpressionList (children 1)
        Identifier timestamp
      Function toIntervalHour (children 1)
       ExpressionList (children 1)
        Literal UInt64_1
