Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10722

truncate operation deletes data files before deleting metadata

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Catalog
    • ghx-label-3

    Description

      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

      Attachments

        Activity

          People

            xiabaike Baike Xia
            vihangk1 Vihang Karajgaonkar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: