Skip to content

Conversation

@mkroll-db
Copy link
Contributor

Which Delta project/connector is this regarding?

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

Description

Add a deltaAssert to ensure CDC commits are processed atomically in streaming - either all files from a commit are admitted or none at all. This prevents update_preimage and update_postimage rows from being split across separate batches, which would break CDC semantics.

Add ProcessAllAvailable() call to prevent race conditions in schema change tests.

How was this patch tested?

Via the tests in DeltaCDCStreamSuite.

Does this PR introduce any user-facing changes?

No

Copy link
Contributor

@Omar-Saleh Omar-Saleh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Add a deltaAssert to ensure CDC commits are processed atomically in
streaming - either all files from a commit are admitted or none at all.
This prevents update_preimage and update_postimage rows from being split
across separate batches, which would break CDC semantics.

Add ProcessAllAvailable() call to prevent race conditions in schema change
tests.
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.

2 participants