{"id": 2, "name": "STAR_ITEM_CUBE", "status": "active", "fact_table": { | |
"name": "ITEM", | |
"type": "fact", | |
"database": "EDW" | |
}, "dimensions": [ | |
{ | |
"id": 1, | |
"name": "CALENDAR", | |
"column": null, | |
"join": { | |
"type": "inner", | |
"primary_key": [ | |
{ | |
"id": null, | |
"name": "ID", | |
"datatype": null, | |
"table": null | |
} | |
], | |
"foreign_key": [ | |
{ | |
"id": null, | |
"name": "CALENDAR_ID", | |
"datatype": null, | |
"table": null | |
} | |
] | |
}, | |
"hierarchy": [ | |
{ | |
"level": "1", | |
"column": { | |
"id": null, | |
"name": "CAL_YEAR", | |
"datatype": "string", | |
"table": { | |
"name": "CALENDAR", | |
"type": "lookup", | |
"database": null | |
} | |
} | |
} | |
], | |
"table": { | |
"name": "CALENDAR", | |
"type": "lookup", | |
"database": null | |
}, | |
"datatype": "string" | |
}, | |
{ | |
"id": 2, | |
"name": "SITE", | |
"column": { | |
"id": null, | |
"name": "SITE", | |
"datatype": "string", | |
"table": { | |
"name": "SITE", | |
"type": "lookup", | |
"database": null | |
} | |
}, | |
"join": { | |
"type": "inner", | |
"primary_key": [ | |
{ | |
"id": null, | |
"name": "ID", | |
"datatype": null, | |
"table": null | |
} | |
], | |
"foreign_key": [ | |
{ | |
"id": null, | |
"name": "SITE_ID", | |
"datatype": null, | |
"table": null | |
} | |
] | |
}, | |
"hierarchy": null, | |
"table": { | |
"name": "SITE", | |
"type": "lookup", | |
"database": null | |
}, | |
"datatype": "string" | |
}, | |
{ | |
"id": 3, | |
"name": "CATEGORY", | |
"column": { | |
"id": null, | |
"name": "CATEGORY", | |
"datatype": "string", | |
"table": { | |
"name": "CATEGORY", | |
"type": "lookup", | |
"database": null | |
} | |
}, | |
"join": { | |
"type": "inner", | |
"primary_key": [ | |
{ | |
"id": null, | |
"name": "ID", | |
"datatype": null, | |
"table": null | |
} | |
], | |
"foreign_key": [ | |
{ | |
"id": null, | |
"name": "CATEGORY_ID", | |
"datatype": null, | |
"table": null | |
} | |
] | |
}, | |
"hierarchy": null, | |
"table": { | |
"name": "CATEGORY", | |
"type": "lookup", | |
"database": null | |
}, | |
"datatype": "string" | |
} | |
], "measures": [ | |
{ | |
"id": 1, | |
"name": "USDAMTSUM", | |
"function": { | |
"expression": "SUM", | |
"parameter": { | |
"type": "column", | |
"value": "USD_AMT" | |
}, | |
"returntype": "double" | |
} | |
}, | |
{ | |
"id": 2, | |
"name": "ITEMCOUNT", | |
"function": { | |
"expression": "SUM", | |
"parameter": { | |
"type": "column", | |
"value": "LISTING_CNT" | |
}, | |
"returntype": "long" | |
} | |
} | |
], "hbase_mapping": { | |
"type": "full_materialization", | |
"hbase_table": { | |
"name": "SAMPLE_CUBE", | |
"type": "hbase_table", | |
"database": "DEFAULT" | |
}, | |
"rowkey_order": ["CAL_YEAR", "SITE", "CATEGORY"], | |
"rowkey_length": ["4", "2", "4"], | |
"high_cardinality_columns": null, | |
"column_family": [ | |
{ | |
"name": "CF1", | |
"columns": [ | |
{ | |
"qualifier": "USD_AMT", | |
"measure_refs": ["USDAMTSUM"] | |
}, | |
{ | |
"qualifier": "ITEM_COUNT", | |
"measure_refs": ["ITEMCOUNT"] | |
} | |
] | |
} | |
] | |
}} |