Skip to content

Backport #125495 to 26.3: Fix row-policy bypass via client-supplied scalar overriding a policy's scalar subquery - #127824

Merged
PedroTadim merged 2 commits into
26.3from
backport/26.3/125495
Oct 29, 2026
Merged

PedroTadim merged 2 commits into
26.3from
backport/26.3/125495

Conversation

@robot-clickhouse

@robot-clickhouse robot-clickhouse commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Original pull-request #125495
Cherry-pick pull-request #127313

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.3.61.21

…calar overriding a policy's scalar subquery
@robot-clickhouse robot-clickhouse added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix labels Oct 26, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [f324d21]

Summary: ✅

…he_bypass` on 26.3

`clickhouse-client --external ... --scalar` came with #110419, which is not in 26.3, so the client
ends the external group at `--scalar` and rejects the following `--file=` as an ambiguous option.
Keep the policy baseline and the distributed scalar checks.

CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=127824&sha=5d92a7dcc4a582e404c63969284411152f71d735&name_0=BackportPR&name_1=Stateless%20tests%20%28amd_asan%2C%20distributed%20plan%2C%20parallel%2C%201%2F2%29
PR: #127824

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@PedroTadim
PedroTadim merged commit eb66926 into 26.3 Oct 29, 2026
36 checks passed
@PedroTadim
PedroTadim deleted the backport/26.3/125495 branch October 29, 2026 17:50
leshikus pushed a commit that referenced this pull request Nov 13, 2026
…he_bypass` on 26.3

`clickhouse-client --external ... --scalar` came with #110419, which is not in 26.3, so the client
ends the external group at `--scalar` and rejects the following `--file=` as an ambiguous option.
Keep the policy baseline and the distributed scalar checks.

CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=127824&sha=5d92a7dcc4a582e404c63969284411152f71d735&name_0=BackportPR&name_1=Stateless%20tests%20%28amd_asan%2C%20distributed%20plan%2C%20parallel%2C%201%2F2%29
PR: #127824

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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