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 "Vihang Karajgaonkar (Jira)" <ji...@apache.org> on 2021/05/27 20:26:00 UTC

[jira] [Created] (IMPALA-10722) truncate operation deletes data files before deleting metadata

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