-
-
Notifications
You must be signed in to change notification settings - Fork 18
fix: nine-issue batch — sequences, kv scans, windows, graph DSL, and one instant conversion #325
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
Closed
+3,177
−1,022
Closed
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
1f8b9b5
fix(pgwire): batch multi-row INSERT into one page
EnRaiha 22cddf3
fix(pgwire): answer kv INSERT with the INSERT tag
EnRaiha 2e09cf6
fix(strict-format): coerce ARRAY vector literals
EnRaiha 3856431
fix(executor): keep value errors out of XX000
EnRaiha 8dbc520
fix(insert-select): scan source in its own engine
EnRaiha 408cbf7
fix(sql): declare the SEARCH distance column
EnRaiha fb36857
feat(kv): evaluate scan projections per row
EnRaiha 4df41f8
fix(sql): raise errors on constant derived tables
EnRaiha 3a06467
fix(sql): name unaliased window projections
EnRaiha 6f35a91
fix(sql): evaluate windows in the window's order
EnRaiha 680c94e
fix(typeguard): resolve in the session database
EnRaiha a02bd2d
fix(convert): keep the source primary key
EnRaiha f916ce0
fix(convert): refuse a column-referencing guard
EnRaiha 5b0159d
fix(sql): track token consumption in the graph DSL
EnRaiha 36ebe5b
fix(sql): serve per-row nextval as a control-plane stamp
EnRaiha b47b5e9
fix(timeseries): convert instants once at shaping
EnRaiha 436ef9b
fix(sql): connect the per-row nextval stamp to every response path
EnRaiha 9027fe8
fix(sql): scale declared instants on a star read
EnRaiha 290b597
fix(sql): collapse the star-path guard into one condition
EnRaiha f82f4e7
test(cluster): set the provider-scan fields the constructor now requires
EnRaiha 0efb14d
fix(pgwire): keep a shaper error's own sqlstate
EnRaiha 6df905f
fix(sql): record a per-row stamp in the session currval
EnRaiha c6bd324
fix(sql): evaluate a from-less nextval projection
EnRaiha 9718510
fix(sql): keep one cell per duplicate constant column
EnRaiha 469f1b8
chore(deps): update rustls to 0.23.45 (RUSTSEC-2026-0285)
EnRaiha fdba3e3
fix(sql): un-batch a cross-shard materialized-sum page
EnRaiha 9fbacd7
fix(sql): keep window rows lossless and harden scan decode errors
EnRaiha b8d7879
fix(sql): keep window rows on the Value codec in every scan path
EnRaiha 2e7775b
test(sql): keep projection test diagnostics off value contents
EnRaiha File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocker 2. This fix lands in
evaluate_window_functions, the JSON evaluator. Afterb8d78795no Origin path calls it.document/read/scan.rsandprovider_scan.rsgo throughevaluate_window_functions_on_msgpack_rows, which callsevaluate_window_functions_value. That evaluator builds partitions in arrival order inbuild_value_partitions.apply_v_row_numbernumbers by that order. The scan sorts rows by the query'sORDER BYfirst.SELECT id, row_number() OVER (ORDER BY n DESC) FROM s ORDER BY idis still numbered byid.The resubmit for #295 puts a
Valueversion ofordered_partition_indicesinevaluate_window_functions_value. Then remove the JSON evaluator or route it through the same helper.