Repository navigation
duckdb_pglake: harden parallel partition scans - #733
Open
sfc-gh-dachristensen wants to merge 1 commit into
Open
sfc-gh-dachristensen wants to merge 1 commit into
sfc-gh-dachristensen wants to merge 1 commit into
Conversation
sfc-gh-dachristensen
requested review from
sfc-gh-abozkurt,
sfc-gh-mslot and
sfc-gh-okalaci
as code owners
October 12, 2026 13:43
sfc-gh-dachristensen
force-pushed
the
marcoslot/partitioned-postgres-scan
branch
from
October 12, 2026 16:36
5ef3247 to
f42e965
Compare
Fall back to parent-table scans when grants or row-level security make direct member queries unsafe, and when filters can benefit from partition pruning. Refresh member discovery at scan start, track partition membership in the catalog staleness check, and use a parent scan if workers cannot share a snapshot. Add regression coverage for LIMIT/OFFSET, parent-only grants, row-level security, partition-key filters, and session-setting cleanup. Rebased onto #653 after the inheritance-parent split was dropped there (follow-up in #735). The member split applies to partitioned tables only again, and the inheritance-parent tests are gone. Signed-off-by: David Christensen <david.christensen@snowflake.com> Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
sfc-gh-dachristensen
force-pushed
the
pgguru/partitioned-postgres-scan-fixes
branch
from
October 12, 2026 16:44
fdbdfb0 to
748198b
Compare
Collaborator
Author
|
I rebased this onto the new #653 head (f42e965), which no longer has the inheritance-parent split (follow-up in #735). Changes from the previous version:
Local checks: the regenerated patch set applies cleanly to the pinned duckdb-postgres, and the changed scanner sources compile. I haven't run the pytest suite locally; CI will cover it. 🤖 Generated with Claude Code |
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.
Summary
Stacks on #653 to preserve PostgreSQL behavior while parallelizing scans of partitioned and inheritance tables.
Regression coverage
Validation
🤖 Generated with Claude Code