You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2019/03/13 00:26:26 UTC

[kylin] branch master updated: KYLIN-3830 return wrong result when 'SELECT SUM(dim1)' without set a relative metric of dim1.

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

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


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

commit a1ade72de515daa1eb99c8e041291d3724181745
Author: yuzhang <sh...@163.com>
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);
     }