Zoltan Borok-Nagy has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/23326


Change subject: IMPALA-14336: Avoid loading tables during table listing in the 
IcebergMetaProvider
......................................................................

IMPALA-14336: Avoid loading tables during table listing in the 
IcebergMetaProvider

IcebergMetaProvider unnecessarily loads Iceberg tables in
loadTableList(). Table loading is a slow operation which can make
simple table listings painfully slow.

In our tests there were unloadable Iceberg tables which was never
intended, some test tables were just wrongly created under
iceberg_test/hadoop_catalog/, but they didn't use the HadoopCatalog.
Normally we can assume that the tables returned by an Iceberg REST
Catalog are loadable. Even if they are not, it shouldn't be too
problematic to get an exception a bit later.

This patch moves the Iceberg tables out from
iceberg_test/hadoop_catalog/ that do not conform to HadoopCatalog.

Testing
 * existing tests updated

Change-Id: I9ff75a751be5ad4b5159a1294eaaa304049c454a
---
M fe/src/main/java/org/apache/impala/catalog/local/IcebergMetaProvider.java
M testdata/datasets/functional/functional_schema_template.sql
M 
testdata/workloads/functional-query/queries/QueryTest/iceberg-metadata-tables.test
3 files changed, 61 insertions(+), 67 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/26/23326/1
--
To view, visit http://gerrit.cloudera.org:8080/23326
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9ff75a751be5ad4b5159a1294eaaa304049c454a
Gerrit-Change-Number: 23326
Gerrit-PatchSet: 1
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>

Reply via email to