{
  "uuid" : "3f4a8124-d95d-4dbf-8888-d15d441de8f1",
  "name" : "test_streaming_v2_cube",
  "description" : "",
  "dimensions" : [ {
    "name" : "DEFAULT.STREAMING_V2_TABLE.SITE",
    "table" : "DEFAULT.STREAMING_V2_TABLE",
    "column" : "SITE",
    "derived" : null
  }, {
    "name" : "DEFAULT.STREAMING_V2_TABLE.ITM",
    "table" : "DEFAULT.STREAMING_V2_TABLE",
    "column" : "ITM",
    "derived" : null
  }, {
    "name" : "TIME",
    "table" : "DEFAULT.STREAMING_V2_TABLE",
    "column" : "DAY_START",
    "derived" : null
  }, {
    "name" : "TIME",
    "table" : "DEFAULT.STREAMING_V2_TABLE",
    "column" : "HOUR_START",
    "derived" : null
  }, {
    "name" : "TIME",
    "table" : "DEFAULT.STREAMING_V2_TABLE",
    "column" : "MINUTE_START",
    "derived" : null
  } ],
  "measures" : [ {
    "name" : "_COUNT_",
    "function" : {
      "expression" : "COUNT",
      "parameter" : {
        "type" : "constant",
        "value" : "1",
        "next_parameter" : null
      },
      "returntype" : "bigint"
    },
    "dependent_measure_ref" : null
  }, {
    "name" : "GMV_SUM",
    "function" : {
      "expression" : "SUM",
      "parameter" : {
        "type" : "column",
        "value" : "GMV",
        "next_parameter" : null
      },
      "returntype" : "decimal(19,6)"
    },
    "dependent_measure_ref" : null
  }, {
    "name": "GMV_PERCENTILE",
    "function": {
      "expression": "PERCENTILE",
      "parameter": {
        "type": "column",
        "value": "GMV"
      },
      "returntype": "percentile(100)"
    }
  }, {
    "name" : "ITEM_COUNT_SUM",
    "function" : {
      "expression" : "SUM",
      "parameter" : {
        "type" : "column",
        "value" : "ITEM_COUNT",
        "next_parameter" : null
      },
      "returntype" : "bigint"
    },
    "dependent_measure_ref" : null
  } ],
  "rowkey" : {
    "rowkey_columns" : [{
        "column" : "ITM",
        "encoding" : "dict"
      }, {
      "column" : "DAY_START",
      "encoding" : "dict"
    }, {
      "column" : "HOUR_START",
      "encoding" : "dict"
    }, {
      "column" : "MINUTE_START",
      "encoding" : "dict"
    }, {
      "column" : "SITE",
      "encoding" : "dict"
    }  ]
  },
  "signature" : null,
  "last_modified" : 1448959801314,
  "model_name" : "test_streaming_v2_model",
  "null_string" : null,
  "hbase_mapping" : {
    "column_family" : [ {
      "name" : "F1",
      "columns" : [ {
        "qualifier" : "M",
        "measure_refs" : [ "_COUNT_", "GMV_SUM", "GMV_PERCENTILE", "ITEM_COUNT_SUM" ]
      } ]
    } ]
  },
  "aggregation_groups" : [ {
    "includes" : [ "DAY_START", "HOUR_START", "ITM", "MINUTE_START", "SITE" ],
    "select_rule" : {
      "hierarchy_dims" : [ [ "DAY_START", "HOUR_START", "MINUTE_START" ] ],
      "mandatory_dims" : [ ],
      "joint_dims" : [ ]
    }
  } ],
  "mandatory_dimension_set_list": [
    [
      "SITE"
    ],
    [
      "ITM",
      "SITE"
    ]
  ],
  "override_kylin_properties": {
    "kylin.stream.consume.offsets.latest": "true",
    "kylin.stream.build.additional.cuboids": "false",
    "kylin.stream.cube.window": "3600",
    "kylin.stream.cube.duration": "3600"
  },
  "notify_list" : [ ],
  "status_need_notify" : [ ],
  "auto_merge_time_ranges" : null,
  "retention_range" : 0,
  "engine_type" : 4,
  "storage_type" : 2,
  "partition_date_start": 0
}