Skip to content

Conversation

lzlfred
Copy link
Contributor

@lzlfred lzlfred commented Sep 29, 2025

always check iceberg MOR during clone; The existing impl had day 0 problem that it miss to check iceberg MOR during incremental conversion, and thus its possible that the table has MOR with format-version 2. If the check is missed, the converted table state will be wrong and result in data corruption. This bug is not reported by customer and is found during internal code review.

Note we explicitly document we do not support iceberg format-version2 MOR; This fix hardens the detection.

This change also fixes an issue where it checks deleteManifests, which could contain removed DeleteFiles after the table is compacted. Using total-delete-files in summary is the right detection for if delete files are present.

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

How was this patch tested?

Does this PR introduce any user-facing changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant