Vihang Karajgaonkar created IMPALA-10722:
--------------------------------------------

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


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.3.4#803005)

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