This is an automated email from the ASF dual-hosted git repository.
shaofengshi pushed a commit to branch 2.6.x
in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/2.6.x by this push:
new f3544b2 KYLIN-3830 return wrong result when 'SELECT SUM(dim1)'
without set a relative metric of dim1.
f3544b2 is described below
commit f3544b20bca6ec9b2c30f245df295419d9722772
Author: yuzhang <[email protected]>
AuthorDate: Tue Mar 12 15:24:20 2019 +0800
KYLIN-3830 return wrong result when 'SELECT SUM(dim1)' without set a
relative metric of dim1.
---
.../src/main/java/org/apache/kylin/metadata/model/FunctionDesc.java | 1 -
1 file changed, 1 deletion(-)
diff --git
a/core-metadata/src/main/java/org/apache/kylin/metadata/model/FunctionDesc.java
b/core-metadata/src/main/java/org/apache/kylin/metadata/model/FunctionDesc.java
index 0f9a027..6e5ff8d 100644
---
a/core-metadata/src/main/java/org/apache/kylin/metadata/model/FunctionDesc.java
+++
b/core-metadata/src/main/java/org/apache/kylin/metadata/model/FunctionDesc.java
@@ -68,7 +68,6 @@ public class FunctionDesc implements Serializable {
BUILT_IN_AGGREGATIONS.add(FUNC_COUNT);
BUILT_IN_AGGREGATIONS.add(FUNC_MAX);
BUILT_IN_AGGREGATIONS.add(FUNC_MIN);
- BUILT_IN_AGGREGATIONS.add(FUNC_SUM);
BUILT_IN_AGGREGATIONS.add(FUNC_COUNT_DISTINCT);
BUILT_IN_AGGREGATIONS.add(FUNC_PERCENTILE);
}