Repository navigation
feat(read): support predicates on non-projected fields - #599
Merged
lxy-9602 merged 5 commits intoDec 4, 2026
Merged
Conversation
SteNicholas
reviewed
Nov 26, 2026
Member
There was a problem hiding this comment.
@lszskye, I left two comments for read correctness issues. PTAL.
lxy-9602
reviewed
Nov 26, 2026
SteNicholas
reviewed
Dec 2, 2026
Member
There was a problem hiding this comment.
@lszskye, I left some comments on the GCC build failure and the sequence-number predicate behavior in append reads and primary-key merges. PTAL.
lxy-9602
reviewed
Dec 3, 2026
SteNicholas
approved these changes
Dec 4, 2026
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.
Purpose
Remove the requirement that predicate fields must appear in the output projection. For example, a read can now return only
namewhile filtering onage, without exposingagein the result. This also applies to full-text predicate fields.Introduce
ReadSchemaPlanto separate the requested output schema from the internal schema containing predicate and authorization dependencies. UseProjectionBatchReaderto remove these dependencies after filtering, merging, or masking. Apply this consistently across append, primary-key, data-evolution, realtime, precise-index, query-auth, and format-table reads.The change also addresses several predicate-handling issues:
_ROW_IDand_SEQUENCE_NUMBERcolumns into the physical format reader. Keep these predicates for the existing filtering stage after the values are completed. Predicates on columns already present in the file remain eligible for pushdown.Tests
Add or update coverage for:
API and Format
No public API signature, storage format, or protocol changes.
Documentation
Update predicate API comments and the file-index, realtime, and format-table guides to describe predicates on non-projected fields.
Generative AI tooling
Generated-by: OpenAI Codex (GPT-6)