[
https://issues.apache.org/jira/browse/KYLIN-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
peng.jianhua updated KYLIN-2901:
--------------------------------
Description:
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
was:After load the table and calculate column cardinality,if I truncate the
table for some reason,after I click the "reload table" button, the web page
still keep the original cardinality,will mislead users,they can not know
whether the table is empty or not from the page.It should be blank after
truncate the table.
> After truncated table,the web page still keep the original cardinality
> ----------------------------------------------------------------------
>
> 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
>
>
> 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)