[
https://issues.apache.org/jira/browse/KYLIN-6057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17930192#comment-17930192
]
Guoliang Sun commented on KYLIN-6057:
-------------------------------------
h3. Root Cause
During concurrent construction of multiple segments, there is a small logical
gap for the same dictionary. This may cause the naming order of the dictionary
version directories to be inconsistent with their actual generation order. As a
result, a newer version of the dictionary does not include the content of the
previous version. This missing content affects all subsequent dictionary
constructions, ultimately leading to incorrect `count distinct` values.
> Incorrect Data in Global Dictionary Construction
> ------------------------------------------------
>
> Key: KYLIN-6057
> URL: https://issues.apache.org/jira/browse/KYLIN-6057
> Project: Kylin
> Issue Type: Bug
> Affects Versions: 5.0.0
> Reporter: Guoliang Sun
> Assignee: Guoliang Sun
> Priority: Major
> Fix For: 5.0.2
>
>
> Kylin Query Count Distinct Results Incorrect
> h3. Root Cause
> During high-concurrency builds, slight differences in machine clocks may
> cause different build tasks to use the same old version of a field for
> construction, leading to overlapping values in the global dictionary.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)