You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Xiaoxiang Yu (Jira)" <ji...@apache.org> on 2021/03/18 09:13:00 UTC

[jira] [Resolved] (KYLIN-4921) stream config lost when create table with same table_name in diff project.

     [ https://issues.apache.org/jira/browse/KYLIN-4921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiaoxiang Yu resolved KYLIN-4921.
---------------------------------
    Resolution: Fixed

> 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)