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

Vihang Karajgaonkar commented on IMPALA-10722:
----------------------------------------------

Feel free to assign it to yourself. I am not working on this.

> truncate operation deletes data files before deleting metadata
> --------------------------------------------------------------
>
>                 Key: IMPALA-10722
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10722
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Catalog
>            Reporter: Vihang Karajgaonkar
>            Priority: Minor
>              Labels: newbie
>
> In case of truncate operation, we delete the data files first and then the 
> statistics. But since statistics are derived from data, we should first 
> delete statistics and then data files.
> See: 
> https://github.com/apache/impala/blob/822e8373d1f1737865899b80862c2be7b07cc950/fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java#L2297



--
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