Repository navigation
Backport #115371 to 26.8: Warn when CLEAR COLUMN leaves an EPHEMERAL-derived MATERIALIZED column stale, and cover it with a test - #123721
Conversation
…derived MATERIALIZED column stale, and cover it with a test
|
Workflow [BackportPR], commit [29c7993] Summary: ✅ |
… recompute on 26.8 On master the `CLEAR COLUMN` recompute set was narrowed to the dependency closure of the cleared columns by an unrelated feature, which is what keeps `MATERIALIZED` columns reading an `EPHEMERAL` column out of it. 26.8 still recomputes every `MATERIALIZED` column, so the backported tests `05055_clear_column_ephemeral_materialized` and `05153_clear_column_stale_materialized_warning` failed with `NO_SUCH_COLUMN_IN_TABLE` / `UNKNOWN_IDENTIFIER` for the `EPHEMERAL` column. Keep the broad 26.8 recompute set and only leave out the columns that read an `EPHEMERAL` column, both from `clear_affected_materialized` and from the per-command dependency check, which analyzed their expressions without the `EPHEMERAL` columns and threw. CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=123721&sha=latest&name_0=BackportPR PR: #123721 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🕵 The two backported tests ( |
Original pull-request #115371
Cherry-pick pull-request #122428
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
26.8.18.2