Peikai Zheng has uploaded this change for review. ( http://gerrit.cloudera.org:8080/10869
Change subject: IMPALA-5035 Impala should not load INDEX_TABLEs from HMS ...................................................................... IMPALA-5035 Impala should not load INDEX_TABLEs from HMS Block loading INDEX_TABLEs from HMS. The INDEX_TABLEs were cached as 'Incompleted table' entry, before. Now, the INDEX_TABLEs are not cached actually. Before Changes: > show tables; user; // external table hive_index_tbl; // index table on user region; // external table > show create table hive_index_tbl; Query: show create table hive_index_tbl ERROR: AnalysisException: org.apache.impala.catalog.TableLoadingException: Unsupported table type 'INDEX_TABLE' for: hive_index_tbl CAUSED BY: TableLoadingException: Unsupported table type 'INDEX_TABLE' for: hive_index_tbl After Changes: > show tables; user; // external table region; //external table > show create talbe hive_index_tbl; Query: show create table hive_index_tbl ERROR: AnalysisException: Table does not exist: hive_index_tbl Change-Id: I6e2ccbeee3e612eab96d89a211d15fc119b08d70 --- M fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java M fe/src/test/java/org/apache/impala/catalog/CatalogObjectToFromThriftTest.java M fe/src/test/java/org/apache/impala/catalog/CatalogTest.java M fe/src/test/java/org/apache/impala/service/FrontendTest.java 4 files changed, 16 insertions(+), 17 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/69/10869/4 -- To view, visit http://gerrit.cloudera.org:8080/10869 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I6e2ccbeee3e612eab96d89a211d15fc119b08d70 Gerrit-Change-Number: 10869 Gerrit-PatchSet: 4 Gerrit-Owner: Peikai Zheng <[email protected]>
