[ 
https://issues.apache.org/jira/browse/KYLIN-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16196062#comment-16196062
 ] 

liyang commented on KYLIN-2901:
-------------------------------

Merged, thanks Jianhua!  Note the following code review commit.  Please do post 
review.  The major change is treat the empty table as a normal case, so don't 
throw exception.

https://github.com/apache/kylin/commit/a118cae1c9e0289c50ea42f4d21e93b0d6a0fc11
https://github.com/apache/kylin/commit/0297d9abfd47fc5fb6b360d7678fc7cfac4172a4



> Update correct cardinality for empty table
> ------------------------------------------
>
>                 Key: KYLIN-2901
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2901
>             Project: Kylin
>          Issue Type: Bug
>          Components: Web 
>    Affects Versions: v2.0.0
>            Reporter: peng.jianhua
>            Assignee: peng.jianhua
>            Priority: Minor
>         Attachments: 
> 0001-KYLIN-2901-update-Cardinality-after-truncate-table.patch, 
> KYLIN-2901-01.png, KYLIN-2901-02.png, KYLIN-2901-03.png, KYLIN-2901-04.png
>
>
> 1. Load KYLIN_CAL_DT table from 'Load Hive Table Metadata From Tree' screen. 
> 2. Delete data using 'truncate table KYLIN_CAL_DT' command.
> 3. Query 'Cardinality' data from 'Data Source' screen.
> The Cardinality value is always the same after clicked 'reload table' button 
> . The right result should be blank.
> Please refer to KYLIN-2901-01.png, KYLIN-2901-02.png, KYLIN-2901-03.png and 
> KYLIN-2901-04.png



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to