Skip to content

Backport #121398 to 26.8: Skip the direct join when the right table has a row policy - #123231

Merged
clickhouse-gh[bot] merged 2 commits into
26.8from
backport/26.8/121398
Oct 1, 2026
Merged

clickhouse-gh[bot] merged 2 commits into
26.8from
backport/26.8/121398

Conversation

@robot-ch-test-poll3

@robot-ch-test-poll3 robot-ch-test-poll3 commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #121398
Cherry-pick pull-request #123209

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.8.15.26

@robot-ch-test-poll3 robot-ch-test-poll3 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix labels Oct 1, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [e02ecce]

Summary: ✅

@vdimir vdimir closed this Oct 1, 2026
@vdimir vdimir reopened this Oct 1, 2026
@vdimir vdimir closed this Oct 1, 2026
A right table with a row policy is joined through its query plan instead
of its special storage, so the `FilterStep` carrying the policy is kept.
The `ACCESS_DENIED` for `JOIN` and `joinGet` on a `Join` table and its
docs are not backported. This also drops the `registerStatementRowPolicy`
block that the conflict resolution pulled into the parser: `StatementFactory`
does not exist in 26.8.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@vdimir vdimir reopened this Oct 1, 2026
@clickhouse-gh
clickhouse-gh Bot merged commit 9988f3b into 26.8 Oct 1, 2026
77 of 80 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.8/121398 branch October 1, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants