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 "Zoltán Borók-Nagy (JIRA)" <ji...@apache.org> on 2019/08/01 17:47:00 UTC

[jira] [Assigned] (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 ]

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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org