Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spark] Rename DeltaSource.isStartingVersion to DeltaSource.isInitialSnapshot #2139

Closed

Conversation

bart-samwel
Copy link
Collaborator

Which Delta project/connector is this regarding?

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

Description

DeltaSourceOffset.isStartingVersion means "is this offset part of an initial snapshot", which is the exact opposite of "startingVersion" which is the user specified option that means "no initial snapshot, just changes starting at this version". This PR renames isStartingVersion to isInitialSnapshot, keeping the serialized name as "isStartingVersion".

How was this patch tested?

Unit tests

Does this PR introduce any user-facing changes?

No

xupefei pushed a commit to xupefei/delta that referenced this pull request Oct 31, 2023
…Snapshot

`DeltaSourceOffset.isStartingVersion` means "is this offset part of an initial snapshot", which is the exact opposite of `"startingVersion"` which is the user specified option that means "no initial snapshot, just changes starting at this version". This PR renames `isStartingVersion` to `isInitialSnapshot`, keeping the serialized name as "isStartingVersion".

Closes delta-io#2139

GitOrigin-RevId: edcb79d942c597d5b4fd61820624951a717891a3
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