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

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

Commit 47c71bbb32d34d4583856af227206934b6f15136 in impala's branch 
refs/heads/master from Li Penglin
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=47c71bbb3 ]

IMPALA-11798: Property 'external.table.purge' should not be ignored when CREATE 
Iceberg tables

Table property 'external.table.purge' should not be ignored when
creating Iceberg tables, except that when 'iceberg.catalog' is not the
Hive Catalog for managed tables, because we need to call
'org.apache.hadoop.hive.metastore.IMetaStoreClient#createTable' and HMS
will override 'external.table.purge' to 'TRUE'.

Testing:
 * existing tests
 * add e2e tests

Change-Id: I2649dd38fbe050044817d6c425ef447245aa2829
Reviewed-on: http://gerrit.cloudera.org:8080/19416
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> CREATE Iceberg table with external.table.purge=false is ignored
> ---------------------------------------------------------------
>
>                 Key: IMPALA-11798
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11798
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Li Penglin
>            Priority: Major
>              Labels: impala-iceberg
>
> Repro:
> {noformat}
> CREATE TABLE ice_imp (i int)
> STORED BY ICEBERG
> TBLPROPERTIES ('external.table.purge' = 'false');
> {noformat}
> Then if we look at the table properties via {{DESCRIBE FORMATTED ice_imp;}} 
> we can see that the value for {{external.table.purge}} is actually {{TRUE}}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to