[
https://issues.apache.org/jira/browse/IMPALA-8793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoltán Borók-Nagy reassigned IMPALA-8793:
-----------------------------------------
Assignee: Zoltán Borók-Nagy
> Implement TRUNCATE for insert-only ACID tables
> ----------------------------------------------
>
> Key: IMPALA-8793
> URL: https://issues.apache.org/jira/browse/IMPALA-8793
> Project: IMPALA
> Issue Type: Improvement
> Reporter: Zoltán Borók-Nagy
> Assignee: Zoltán Borók-Nagy
> Priority: Major
> Labels: impala-acid
>
> Impala currently cannot TRUNCATE insert-only tables.
> TRUNCATE is a DDL statement that deletes all the files and drops all column
> and table statistics. (Impala currently cannot truncate specific partitions,
> only the whole table. Truncating specific partitions is out of scope of this
> Jira.)
> TRUNCATE doesn't only mean to create a new empty base directory, but to
> really remove all the files, this is the behavior of Hive as well.
> To implement TRUNCATE Impala must acquire an EXCLUSIVE lock on the table.
> After that Impala must recursively delete all the data files belonging to the
> table.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]