[
https://issues.apache.org/jira/browse/KYLIN-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15285840#comment-15285840
]
Shaofeng SHI commented on KYLIN-1695:
-------------------------------------
Hi kaisen, we don't like to introduce too many configurations into kylin; if it
can be selected on GUI, that will be easier for user to use.
> disable cardinality calculation job when loading hive table
> -----------------------------------------------------------
>
> Key: KYLIN-1695
> URL: https://issues.apache.org/jira/browse/KYLIN-1695
> Project: Kylin
> Issue Type: Bug
> Components: Job Engine
> Affects Versions: v1.5.1
> Reporter: kangkaisen
> Assignee: Dong Li
> Attachments: KYLIN-1695.patch
>
>
> When user loads/reloads hive tables from web console, kylin will submit a mr
> job asynchronously to calculate column cardinalities. This has four major
> problems:
> # the calculated cardinality is stored in table metadata, but never used in
> cubing/querying
> # table may change after loading, so the cardinality doesn't necessarily
> reflect the actual value
> # the current `HiveColumnCardinalityJob` has many limitations, e.g., it
> doesn't support views
> # the `HiveColumnCardinalityJob` may use lots of resources when computing
> cardinality of partitioned table
> Due to these problems, we should disable it by default and (maybe) remove it
> in future releases.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)