You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2026/03/24 04:49:00 UTC

[jira] [Created] (SPARK-56178) MSCK REPAIR TABLE for V2 file tables

Yang Jie created SPARK-56178:
--------------------------------

             Summary: MSCK REPAIR TABLE for V2 file tables
                 Key: SPARK-56178
                 URL: https://issues.apache.org/jira/browse/SPARK-56178
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 4.2.0
            Reporter: Yang Jie


Implement `RepairTableExec` for V2 file tables. Scans filesystem partition directories, compares with catalog metastore, registers missing partitions via `SessionCatalog.createPartitions` and drops orphaned entries via `SessionCatalog.dropPartitions`. Uses `FileTable.listPartitionIdentifiers()` for filesystem scan. `DataSourceV2Strategy` routes `RepairTable` for `FileTable` to the new V2 exec node (non-FileTable V2 tables still throw). 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org