Repository navigation
Conversation
Requests stay unbound, as vortex#11654 settled: each source binds them against its own dtype in scan(). An engine that opens a plan source per file, as DuckDB does, therefore bound and optimized the same projection and filter once per file, where the V2 DuckDB path bound them once per query. A small per-session cache keyed by expression and dtype restores binding once per (expression, dtype). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Nicholas Gates <nick@nickgates.com>
Signed-off-by: Nicholas Gates <nick@nickgates.com>
This branch has not been deployed
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.
Scan requests are unbound, and each source binds them against its own dtype in
scan(). An engine that opens one source per file would therefore bind and optimize the same projection and filter once per file. A small cache on the session binds each (expression, dtype) pair once and serves every source scanned in that session.Contracts to check:
Arcs whose equality compares pointers first, so a lookup is mostly a few pointer checks.Stacked on #11700.
🤖 Generated with Claude Code