mirror of
https://github.com/apache/impala.git
synced 2026-02-01 21:00:29 -05:00
IMPALA-11287 (part 1): Disable CREATE TABLE LIKE statements for Iceberg tables
We currently don't implement correct behavior for CREATE TABLE LIKE statements for Iceberg tables. Neither on the source, nor on the target table side. This patch forbids such statements until they are correctly implemented. Testing * added e2e test Change-Id: I9cee6fc82547dabf63937cc541163c1ee59a4013 Reviewed-on: http://gerrit.cloudera.org:8080/18517 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
committed by
Impala Public Jenkins
parent
ca5ea4aeab
commit
7c40b95a04
@@ -602,3 +602,13 @@ select * from functional_parquet.iceberg_v2_delete_positional;
|
||||
---- CATCH
|
||||
row_regex:.*CAUSED BY: TableLoadingException: Unsupported Iceberg V2 feature, table .* contains delete files..*
|
||||
====
|
||||
---- QUERY
|
||||
CREATE TABLE ice_clone LIKE functional_parquet.iceberg_non_partitioned;
|
||||
---- CATCH
|
||||
Cloning an Iceberg table using CREATE TABLE LIKE is not supported.
|
||||
====
|
||||
---- QUERY
|
||||
CREATE TABLE clone_ice LIKE functional_parquet.alltypestiny STORED AS ICEBERG;
|
||||
---- CATCH
|
||||
CREATE TABLE LIKE is not supported for Iceberg tables.
|
||||
====
|
||||
|
||||
Reference in New Issue
Block a user