[
https://issues.apache.org/jira/browse/KYLIN-4921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17303941#comment-17303941
]
ASF subversion and git services commented on KYLIN-4921:
--------------------------------------------------------
Commit decb4ab7ed3fa0d8fbf0bfd7544676d139ff8948 in kylin's branch
refs/heads/master from Kun Liu
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=decb4ab ]
KYLIN-4921: New rowkey for streamv2 source config and fix bug that can't create
same name table in diff project (#1604)
* support diff project with same stream name
* fix bug: when create duplicated table, the original stream table can't be
deleted
> 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
> Fix For: v3.1.2
>
>
> 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)