Zoltan Borok-Nagy has uploaded this change for review. ( http://gerrit.cloudera.org:8080/20429
Change subject: IMPALA-12409: Don't allow EXTERNAL Iceberg tables to point another Iceberg table in Hive catalog ...................................................................... IMPALA-12409: Don't allow EXTERNAL Iceberg tables to point another Iceberg table in Hive catalog This patch forbids creating an EXTERNAL Iceberg table that points to another Iceberg catalog. I.e. the following should be forbidden: CREATE EXTERNAL TABLE ice_ext STORED BY ICEBERG TBLPROPERTIES ('iceberg.table_identifier'='db.tbl'); Loading such tables should also raise an error. Users need to query the original Iceberg tables. Testing: * added e2e tests for CREATE EXTERNAL TABLE * added e2e test about loading such table Change-Id: Ifb0d7f0e7ec40fba356bd58b43f68d070432de71 --- M fe/src/main/java/org/apache/impala/analysis/CreateTableStmt.java M fe/src/main/java/org/apache/impala/catalog/IcebergTable.java M testdata/workloads/functional-query/queries/QueryTest/iceberg-catalogs.test M testdata/workloads/functional-query/queries/QueryTest/iceberg-insert.test M testdata/workloads/functional-query/queries/QueryTest/iceberg-negative.test M tests/query_test/test_iceberg.py 6 files changed, 76 insertions(+), 124 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/29/20429/1 -- To view, visit http://gerrit.cloudera.org:8080/20429 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ifb0d7f0e7ec40fba356bd58b43f68d070432de71 Gerrit-Change-Number: 20429 Gerrit-PatchSet: 1 Gerrit-Owner: Zoltan Borok-Nagy <borokna...@cloudera.com>