Skip to content

feat: composite RANGE, semi-join prune, PG LIST/RANGE + 2PC demo - #62

Merged
renecannao merged 1 commit into
feat/shard-parallel-composite-movefrom
feat/shard-demo-bloom-composite-range
Aug 20, 2026
Merged

feat: composite RANGE, semi-join prune, PG LIST/RANGE + 2PC demo#62
renecannao merged 1 commit into
feat/shard-parallel-composite-movefrom
feat/shard-demo-bloom-composite-range

Conversation

@renecannao

Copy link
Copy Markdown
Collaborator

Summary

  • Composite RANGE now routes and prunes on the first key component (LIST still rejects composites).
  • Semi-join prune: when one side of a join is sharded and the other is not, the engine materializes the small side and pushes an IN (...) onto the sharded probe.
  • New PostgreSQL sharding demo (scripts/start_pg_sharding_demo.sh + run_pg_sharding_demo.sh) on ports 16432/16433 exercising RANGE + LIST + cross-shard 2PC.
  • sqlengine now auto-selects POSTGRESQL 2PC dialect when all backends are pgsql://.
  • Added planner tests + live PG backend test (skips if containers are not running).

Stacked on #61.

Test results

./run_tests --gtest_brief=11344 passed, 40 skipped

- Composite RANGE now routes and prunes on the first key component
  (LIST still rejects composites; HASH uses all parts).
- Semi-join prune: when one side of a join is sharded and the other is
  not, the engine materializes the small side and pushes an IN-list
  onto the sharded probe side.
- New demo scripts for PostgreSQL shards (16432/16433) exercising
  RANGE + LIST + cross-shard 2PC with DistributedTransactionManager
  in POSTGRESQL mode.
- sqlengine now auto-selects PostgreSQL 2PC dialect when all backends
  are pgsql://.
- Added planner and live-backend tests; full suite now 1344 passed.

Stacked on PR #61.
@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 3df5cf82-a183-40c6-925c-15bfa3be39b7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@renecannao
renecannao merged commit a61dc13 into feat/shard-parallel-composite-move Aug 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant