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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to