You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Dinesh Garg (Jira)" <ji...@apache.org> on 2019/08/27 05:38:00 UTC

[jira] [Work started] (IMPALA-8793) Implement TRUNCATE for insert-only ACID tables

     [ https://issues.apache.org/jira/browse/IMPALA-8793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on IMPALA-8793 started by Dinesh Garg.
-------------------------------------------
> 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: Dinesh Garg
>            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
(v8.3.2#803003)

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