CreateQuery test_01035_avg (children 3)
 Identifier test_01035_avg
 Columns definition (children 1)
  ExpressionList (children 18)
   ColumnDeclaration i8 (children 2)
    DataType Int8
    Identifier i64
   ColumnDeclaration i16 (children 2)
    DataType Int16
    Identifier i64
   ColumnDeclaration i32 (children 2)
    DataType Int32
    Identifier i64
   ColumnDeclaration i64 (children 2)
    DataType Int64
    Function if (children 1)
     ExpressionList (children 3)
      Function equals (children 1)
       ExpressionList (children 2)
        Function modulo (children 1)
         ExpressionList (children 2)
          Identifier u64
          Literal UInt64_2
        Literal UInt64_0
      Function toInt64 (children 1)
       ExpressionList (children 1)
        Identifier u64
      Function toInt64 (children 1)
       ExpressionList (children 1)
        Function negate (children 1)
         ExpressionList (children 1)
          Identifier u64
   ColumnDeclaration i128 (children 2)
    DataType Int128
    Identifier i64
   ColumnDeclaration i256 (children 2)
    DataType Int256
    Identifier i64
   ColumnDeclaration u8 (children 2)
    DataType UInt8
    Identifier u64
   ColumnDeclaration u16 (children 2)
    DataType UInt16
    Identifier u64
   ColumnDeclaration u32 (children 2)
    DataType UInt32
    Identifier u64
   ColumnDeclaration u64 (children 1)
    DataType UInt64
   ColumnDeclaration u128 (children 2)
    DataType UInt128
    Identifier u64
   ColumnDeclaration u256 (children 2)
    DataType UInt256
    Identifier u64
   ColumnDeclaration f32 (children 2)
    DataType Float32
    Identifier u64
   ColumnDeclaration f64 (children 2)
    DataType Float64
    Identifier u64
   ColumnDeclaration d32 (children 2)
    DataType Decimal32 (children 1)
     ExpressionList (children 1)
      Literal UInt64_4
    Function toDecimal32 (children 1)
     ExpressionList (children 2)
      Function divide (children 1)
       ExpressionList (children 2)
        Identifier i32
        Literal UInt64_1000
      Literal UInt64_4
   ColumnDeclaration d64 (children 2)
    DataType Decimal64 (children 1)
     ExpressionList (children 1)
      Literal UInt64_18
    Function toDecimal64 (children 1)
     ExpressionList (children 2)
      Function divide (children 1)
       ExpressionList (children 2)
        Identifier u64
        Literal UInt64_1000000
      Literal UInt64_8
   ColumnDeclaration d128 (children 2)
    DataType Decimal128 (children 1)
     ExpressionList (children 1)
      Literal UInt64_20
    Function toDecimal128 (children 1)
     ExpressionList (children 2)
      Function divide (children 1)
       ExpressionList (children 2)
        Identifier i128
        Literal UInt64_100000
      Literal UInt64_20
   ColumnDeclaration d256 (children 2)
    DataType Decimal256 (children 1)
     ExpressionList (children 1)
      Literal UInt64_40
    Function toDecimal256 (children 1)
     ExpressionList (children 2)
      Function divide (children 1)
       ExpressionList (children 2)
        Identifier i256
        Literal UInt64_100000
      Literal UInt64_40
 Storage definition (children 3)
  Function MergeTree (children 1)
   ExpressionList
  Identifier i64
  Set
