[ 
https://issues.apache.org/jira/browse/IMPALA-12409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17761921#comment-17761921
 ] 

ASF subversion and git services commented on IMPALA-12409:
----------------------------------------------------------

Commit a9aaeaa4896ce025bd9fff2fd60f230a1c1e3733 in impala's branch 
refs/heads/master from Zoltan Borok-Nagy
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=a9aaeaa48 ]

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 table in the Hive 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. Alternatively they can create VIEWs if
they want to query tables with a different name.

Testing:
 * added e2e tests for CREATE EXTERNAL TABLE
 * added e2e test about loading such table

Change-Id: Ifb0d7f0e7ec40fba356bd58b43f68d070432de71
Reviewed-on: http://gerrit.cloudera.org:8080/20429
Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>


> Don't allow EXTERNAL Iceberg tables to point another Iceberg table in Hive 
> catalog
> ----------------------------------------------------------------------------------
>
>                 Key: IMPALA-12409
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12409
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog, Frontend
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Zoltán Borók-Nagy
>            Priority: Major
>              Labels: impala-iceberg
>
> We shouldn't allow users creating an EXTERNAL Iceberg table that points to 
> another Iceberg table. I.e. the following should be forbidden:
> {noformat}
> CREATE EXTERNAL TABLE ice_ext
> STORED BY ICEBERG
> TBLPROPERTIES ('iceberg.table_identifier'='db.tbl');{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to