[
https://issues.apache.org/jira/browse/KYLIN-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17211583#comment-17211583
]
Zhong Yanghong commented on KYLIN-4421:
---------------------------------------
The usage is as follows:
{code:java}
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
}'
{code}
> Allow to update table & database name
> --------------------------------------
>
> Key: KYLIN-4421
> URL: https://issues.apache.org/jira/browse/KYLIN-4421
> Project: Kylin
> Issue Type: Sub-task
> Reporter: Zhong Yanghong
> Assignee: Zhong Yanghong
> Priority: Minor
> Fix For: v3.1.0
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)