KYLIN-1862 'table not found' in 'Build Dimension Dictionary' step

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

Branch: refs/heads/1.5.x-CDH5.7
Commit: b45dc44cdb5dfedbce69a903e620726290c27a5c
Parents: b999eac
Author: shaofengshi <shaofeng...@apache.org>
Authored: Sat Jul 9 09:50:29 2016 +0800
Committer: shaofengshi <shaofeng...@apache.org>
Committed: Sat Jul 9 09:50:29 2016 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/kylin/dict/DictionaryManager.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/b45dc44c/core-dictionary/src/main/java/org/apache/kylin/dict/DictionaryManager.java
----------------------------------------------------------------------
diff --git 
a/core-dictionary/src/main/java/org/apache/kylin/dict/DictionaryManager.java 
b/core-dictionary/src/main/java/org/apache/kylin/dict/DictionaryManager.java
index bd00f10..ff088b9 100644
--- a/core-dictionary/src/main/java/org/apache/kylin/dict/DictionaryManager.java
+++ b/core-dictionary/src/main/java/org/apache/kylin/dict/DictionaryManager.java
@@ -293,7 +293,7 @@ public class DictionaryManager {
                 TableDesc materializedTbl = new TableDesc();
                 
materializedTbl.setDatabase(config.getHiveDatabaseForIntermediateTable());
                 materializedTbl.setName(tableDesc.getMaterializedName());
-                inpTable = SourceFactory.createReadableTable(tableDesc);
+                inpTable = SourceFactory.createReadableTable(materializedTbl);
             } else {
                 inpTable = SourceFactory.createReadableTable(tableDesc);
             }

Reply via email to