enhance LookupTable

Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/64c3c618
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/64c3c618
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/64c3c618

Branch: refs/heads/sparkcubing-rebase
Commit: 64c3c61898d10f05c4350609517b2096c4171167
Parents: 8cd416a
Author: Li Yang <liy...@apache.org>
Authored: Thu Dec 29 13:44:40 2016 +0800
Committer: Li Yang <liy...@apache.org>
Committed: Thu Dec 29 18:26:59 2016 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/kylin/dict/lookup/LookupTable.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/64c3c618/core-dictionary/src/main/java/org/apache/kylin/dict/lookup/LookupTable.java
----------------------------------------------------------------------
diff --git 
a/core-dictionary/src/main/java/org/apache/kylin/dict/lookup/LookupTable.java 
b/core-dictionary/src/main/java/org/apache/kylin/dict/lookup/LookupTable.java
index cd700e9..21221f4 100644
--- 
a/core-dictionary/src/main/java/org/apache/kylin/dict/lookup/LookupTable.java
+++ 
b/core-dictionary/src/main/java/org/apache/kylin/dict/lookup/LookupTable.java
@@ -23,6 +23,7 @@ import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Comparator;
 import java.util.List;
+import java.util.Map;
 import java.util.Set;
 import java.util.concurrent.ConcurrentHashMap;
 
@@ -46,7 +47,7 @@ abstract public class LookupTable<T> {
     protected TableDesc tableDesc;
     protected String[] keyColumns;
     protected ReadableTable table;
-    protected ConcurrentHashMap<Array<T>, T[]> data;
+    protected Map<Array<T>, T[]> data;
 
     public LookupTable(TableDesc tableDesc, String[] keyColumns, ReadableTable 
table) throws IOException {
         this.tableDesc = tableDesc;

Reply via email to