kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (KYLIN-3161) Enforce global dictionary for bitmap count distinct column
Date Sun, 03 Jun 2018 14:03:00 GMT


ASF GitHub Bot commented on KYLIN-3161:

shaofengshi commented on a change in pull request #147: KYLIN-3161 Enforce global dictionary
for bitmap count distinct column…

 File path: core-cube/src/main/java/org/apache/kylin/cube/model/validation/rule/
 @@ -89,17 +100,32 @@ public void validate(CubeDesc cubeDesc, ValidateContext context) {
+            if (StringUtils.isNotEmpty(builderClass) && !builderClass.equalsIgnoreCase(GlobalDictionaryBuilder.class.getName())
&& bitmapMeasures.containsKey(dictCol) && !dictCol.getColumnDesc().getType().isIntegerFamily()){
 Review comment:
   "builderClass" can be empty, which would means the normal dictionary. So this case should
also be checked.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> Enforce global dictionary for bitmap count distinct column
> ----------------------------------------------------------
>                 Key: KYLIN-3161
>                 URL:
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Measure - Count Distinct
>            Reporter: Shaofeng SHI
>            Priority: Major
> For bitmap based count distinct column (as the data type is not int), a Global dictionary
is required. But now user can use normal dictionary, which may cause incorrect result.

This message was sent by Atlassian JIRA

View raw message