Skip to content

Backport #118129 to 26.6: Fix secret bug in explain - #120003

Merged
clickhouse-gh[bot] merged 2 commits into
26.6from
backport/26.6/118129
Sep 14, 2026
Merged

clickhouse-gh[bot] merged 2 commits into
26.6from
backport/26.6/118129

Conversation

@robot-ch-test-poll3

@robot-ch-test-poll3 robot-ch-test-poll3 commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #118129
Cherry-pick pull-request #119177

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

@robot-ch-test-poll3 robot-ch-test-poll3 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Sep 14, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [02dde00]

Summary: ✅

The setting `explain_query_plan_default` and `EXPLAIN ANALYZE` were
introduced in 26.7 and do not exist in 26.6, so the test
`05057_explain_hide_secrets_without_privilege` failed with
`UNKNOWN_SETTING`. Remove the setting from the queries, drop the two
`EXPLAIN ANALYZE` checks, and regenerate the reference: on 26.6
`EXPLAIN PLAN` and `EXPLAIN SYNTAX` print the legacy format. Secrets are
still shown as `[HIDDEN]` everywhere and the key text never appears.

Also remove six includes in `InterpreterExplainQuery.cpp` that came from
the master side of the merge and are not used in 26.6.

Backport of #118129
Backport PR: #120003

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@clickhouse-gh
clickhouse-gh Bot merged commit 33701bf into 26.6 Sep 14, 2026
39 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.6/118129 branch September 14, 2026 20:24
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-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants