REST: Add data sequence number to scan tasks - #17299
Open
manuzhang wants to merge 1 commit into
Open
Conversation
Expose optional manifest-entry data sequence numbers for row-lineage data files in REST scan tasks while preserving rolling compatibility and leaving delete-file JSON unchanged. Co-authored-by: Gang Wu <ustcwg@gmail.com> Co-authored-by: Codex <codex@openai.com>
uros-b
approved these changes
Jul 23, 2026
uros-b
left a comment
Member
There was a problem hiding this comment.
Well scoped and tested, thank you for this change @manuzhang!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
data-sequence-numberto REST-planned data filesMotivation
REST-planned scan tasks currently omit manifest-entry data sequence numbers. Row-lineage clients need the data file value to inherit a missing or null
_last_updated_sequence_numberand must not substitute a file or snapshot sequence number.The field remains optional for rolling compatibility. Servers SHOULD include it when known for data files with a non-null
first-row-id, while clients MUST NOT substitute a file or snapshot sequence number when it is absent. Scoping and emitting the new field only for row-lineage data files avoids changing ordinary data-file and delete-file payloads that do not need it for lineage inheritance.This incorporates feedback from the broader content-file approach in #17234 by @wgtmac.
Compatibility
first-row-id; old clients are expected to ignore unknown fields.AI Disclosure