You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2016/05/09 09:38:39 UTC
kylin git commit: KYLIN-1543 Enable FilterResultCache
Repository: kylin
Updated Branches:
refs/heads/master 548f5a433 -> 86ee3556d
KYLIN-1543 Enable FilterResultCache
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/86ee3556
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/86ee3556
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/86ee3556
Branch: refs/heads/master
Commit: 86ee3556df82329fb7c4ba8826cfc2375df623f6
Parents: 548f5a4
Author: lidongsjtu <li...@apache.org>
Authored: Mon May 9 17:38:46 2016 +0800
Committer: lidongsjtu <li...@apache.org>
Committed: Mon May 9 17:39:22 2016 +0800
----------------------------------------------------------------------
.../src/main/java/org/apache/kylin/gridtable/GTFilterScanner.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kylin/blob/86ee3556/core-cube/src/main/java/org/apache/kylin/gridtable/GTFilterScanner.java
----------------------------------------------------------------------
diff --git a/core-cube/src/main/java/org/apache/kylin/gridtable/GTFilterScanner.java b/core-cube/src/main/java/org/apache/kylin/gridtable/GTFilterScanner.java
index 69e18ed..61129b1 100644
--- a/core-cube/src/main/java/org/apache/kylin/gridtable/GTFilterScanner.java
+++ b/core-cube/src/main/java/org/apache/kylin/gridtable/GTFilterScanner.java
@@ -135,7 +135,7 @@ public class GTFilterScanner implements IGTScanner {
static class FilterResultCache {
static final int CHECKPOINT = 10000;
static final double HIT_RATE_THRESHOLD = 0.5;
- static boolean ENABLED = false; // for debug
+ static boolean ENABLED = true; // enable cache by default
boolean enabled = ENABLED;
ImmutableBitSet colsInFilter;