Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
Description
Cube dimension column is not allow to be in accurate-count-distinct measure. Global Dictionary encoding is a kind of dict in metadata. Dict encoding is created for dim at the beginning, so Global Dictionary is a special one for measure.
To eliminate the restriction, there're two possible ways in my view. One is move Global Dictionary metadata out of dict section to a new section such as "measure dict" (not there now, create a new one). The other way is handle Global Dictionary differently in both cubing engine and query engine.
There might be other better methods. Let's discuss here and find a good way out.
Attachments
Issue Links
- duplicates
-
KYLIN-2679 Report error when a dimension using "dict" encoding and also configured Global dictionary for "distinct_count" measure
- Closed