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 2018/11/27 06:21:47 UTC

[kylin] branch 2.4.x updated: KYLIN-3693 TopN incorrect in Spark engine

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

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


The following commit(s) were added to refs/heads/2.4.x by this push:
     new 5b71505  KYLIN-3693 TopN incorrect in Spark engine
5b71505 is described below

commit 5b7150527a704c5299127de7f820a8923bb907ae
Author: shaofengshi <sh...@apache.org>
AuthorDate: Tue Nov 27 14:21:33 2018 +0800

    KYLIN-3693 TopN incorrect in Spark engine
---
 .../main/java/org/apache/kylin/measure/topn/DoubleDeltaSerializer.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core-metadata/src/main/java/org/apache/kylin/measure/topn/DoubleDeltaSerializer.java b/core-metadata/src/main/java/org/apache/kylin/measure/topn/DoubleDeltaSerializer.java
index ac925e2..1cb63e4 100644
--- a/core-metadata/src/main/java/org/apache/kylin/measure/topn/DoubleDeltaSerializer.java
+++ b/core-metadata/src/main/java/org/apache/kylin/measure/topn/DoubleDeltaSerializer.java
@@ -32,7 +32,7 @@ public class DoubleDeltaSerializer implements java.io.Serializable {
     static final int LENGTH_BITS = 23;
 
     static final long[] MASKS = new long[64];
-    {
+    static {
         for (int i = 0; i < MASKS.length; i++) {
             MASKS[i] = (1L << i) - 1;
         }