[
https://issues.apache.org/jira/browse/KYLIN-4921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17303066#comment-17303066
]
Kun Liu commented on KYLIN-4921:
--------------------------------
The design doc:
https://docs.google.com/document/d/1QfTn5dBcHeY2EAnMUS2V0sqj9dpFQwmVuAZon7wCtns/edit?usp=sharing
> stream config lost when create table with same table_name in diff project.
> --------------------------------------------------------------------------
>
> Key: KYLIN-4921
> URL: https://issues.apache.org/jira/browse/KYLIN-4921
> Project: Kylin
> Issue Type: Bug
> Components: Real-time Streaming
> Reporter: Kun Liu
> Assignee: Kun Liu
> Priority: Major
>
> In project A, I have created a stream table test_table.
> When I create the table test_table in project B, the table can't be created,
> but the source config of table in project A lost.
>
> The reason:
> In the `saveStreamingConfig` function, if creating table failed, the config
> will be dropped in finally phase.
>
>
> By design:
> In order to identity one stream table `StreamingSourceConfig` in the
> metastore, kylin use the key
> `ResourceStore.STREAMING_V2_RESOURCE_ROOT + "/" + name + ".json"` as the
> identifier.
> But this design can't work in multi-project.
> [~hit_lacus] PTAL
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)