对表进行 Fsck 修复(Azure Databricks 上的 Delta Lake)Fsck Repair Table (Delta Lake on Azure Databricks)

FSCK REPAIR TABLE [db_name.]table_name [DRY RUN]

从增量表的事务日志中删除无法再在基础文件系统中找到的文件条目。Remove the file entries from the transaction log of a Delta table that can no longer be found in the underlying file system. 如果手动删除了这些文件,则会发生这种情况。This can happen when these files have been manually deleted.

DRY RUN

返回要从事务日志中删除的文件的列表。Return a list of files to be removed from the transaction log.