Zoltan Borok-Nagy has uploaded this change for review. ( http://gerrit.cloudera.org:8080/16575
Change subject: IMPALA-10152: part 1: refactor Iceberg catalog handling. ...................................................................... IMPALA-10152: part 1: refactor Iceberg catalog handling. This patch refactors the code a bit to make it easier in the future to add support for new Iceberg catalogs. We plan to add support for HiveCatalog in the near future. Iceberg has two main interfaces to manage tables: Tables and Catalog. I created a new interface in Impala called 'IcebergCatalog' that abstracts both Tables and Catalog. Currently there are two implementations for IcebergCatalog: * HadoopTablesCatalog for HadoopTables * HadoopCatalog for HadoopCatalog This patch also delegates dropTable() to the Iceberg catalogs. Change-Id: Ie69dff6cd6b8b3dc0ba5f7671b8504a936032a85 --- M fe/src/main/java/org/apache/impala/catalog/FeIcebergTable.java M fe/src/main/java/org/apache/impala/catalog/IcebergTable.java M fe/src/main/java/org/apache/impala/catalog/local/LocalIcebergTable.java M fe/src/main/java/org/apache/impala/planner/IcebergScanNode.java M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java M fe/src/main/java/org/apache/impala/service/IcebergCatalogOpExecutor.java A fe/src/main/java/org/apache/impala/service/IcebergCatalogs.java M fe/src/main/java/org/apache/impala/util/IcebergUtil.java 8 files changed, 302 insertions(+), 96 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/75/16575/1 -- To view, visit http://gerrit.cloudera.org:8080/16575 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ie69dff6cd6b8b3dc0ba5f7671b8504a936032a85 Gerrit-Change-Number: 16575 Gerrit-PatchSet: 1 Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>
