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

Expose Iceberg position delete records via metadata table

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Frontend
    • ghx-label-13

    Description

      To debug issues with position delete files, or detect table corruption we could expose the delete records via the metadata table syntax, e.g.:

      SELECT INPUT__FILE__NAME, file_path, pos
      FROM db.ice_t.position_delete_records;

      Adding virtual column INPUT_FILE_NAME is useful because it can tell which delete file contains the records.

      We should re-use IcebergPositionDeleteTable for this: https://github.com/apache/impala/blob/master/fe/src/main/java/org/apache/impala/catalog/IcebergPositionDeleteTable.java

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            boroknagyz Zoltán Borók-Nagy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: