This is an automated email from the ASF dual-hosted git repository.

shaofengshi pushed a commit to branch 2.5.x
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/2.5.x by this push:
     new 180adb3  KYLIN-3830 return wrong result when 'SELECT SUM(dim1)' 
without set a relative metric of dim1.
180adb3 is described below

commit 180adb38665d04b5cbf8f737c85556087f8900bb
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);
     }

Reply via email to