Skip to content

sql: plan SUBSCRIBE WITH (BATCHED) behind a feature flag - #40087

Draft
antiguru wants to merge 1 commit into
batched-subscribe/3-range-scanfrom
batched-subscribe/4-sql
Draft

antiguru wants to merge 1 commit into
batched-subscribe/3-range-scanfrom
batched-subscribe/4-sql

Conversation

@antiguru

@antiguru antiguru commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Adds the BATCHED option to SUBSCRIBE, gated by enable_subscribe_batched. BATCHED implies PROGRESS and requires plain diff output, so it is rejected with ENVELOPE UPSERT, ENVELOPE DEBEZIUM, WITHIN TIMESTAMP ORDER BY, and PROGRESS = false.

Part of the SUBSCRIBE ... WITH (BATCHED) stack, designed in #40066. Batched subscribes stay behind enable_subscribe_batched, which is off in production and on in CI.

🤖 Generated with Claude Code

@antiguru
antiguru added this pull request to stack #40095 October 22, 2026 12:17
@antiguru antiguru changed the title batched subscribe/4 sql sql: plan SUBSCRIBE WITH (BATCHED) behind a feature flag Oct 22, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@antiguru
antiguru force-pushed the batched-subscribe/4-sql branch from c41778f to 40215bc Compare October 22, 2026 16:22
@linear-code

linear-code Bot commented Nov 6, 2026

Copy link
Copy Markdown

CPU-318

This branch has not been deployed

No deployments
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