Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
5.0-alpha
-
None
-
None
Description
1) add root table alias for model in kylin5.0
2) add a table mapping updater
influenced metadata:
- table - database name - table name - model - root fact table - join table - computed column - dataflow - segments - snapshot - column source bytes
3) add a api for table name update request
here is an example:
curl -kXPOST 'http://localhost:7070/kylin/api/tables/default/update' -H 'Authorization: Basic XXXXXX' \ -H 'Content-Type: application/json' \ -d '{ "mapping":{ "DEFAULT.KYLIN_SALES": { "database": "TEST", "tableName": "KYLIN_FACT" } , "DEFAULT.KYLIN_CAL_DT": { "tableName": "CAL_DT" } , "DEFAULT.KYLIN_CATEGORY_GROUPINGS": { "database": "TEST" } }, "isUseExisting":true}'
4) add UT and json files for test.