Repository navigation
Backport #112007 to 26.6: Fix AMBIGUOUS_COLUMN_NAME when a JOIN ON condition is repeated in WHERE - #112175
Conversation
…ndition is repeated in WHERE
|
Workflow [BackportPR], commit [5d6cfa5] Summary: ✅ |
… `26.6` The backported test carried `SET explain_query_plan_default = 'legacy'`, a setting added after `26.6`, so every run failed with `UNKNOWN_SETTING` (115). On `26.6` the legacy `EXPLAIN` output is already the only output, so the pin is unnecessary here. Verified with the release binaries: the test reproduces `Block structure mismatch` (352) on stock `26.6` and matches the reference with this backport applied. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
The @groeneai, investigate the failure: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=112175&sha=f658c3853dad8eafeaa8873f5c2e1747196c8682&name_0=BackportPR&name_1=Stress%20test%20%28amd_tsan%29 and provide a fix in a separate PR (a cancellation check in the skip-index calculation loop). If the fix is already in progress, link it here. I merged |
|
🕵 The only red on Three unrelated tests in three different workers hanging simultaneously and dying at the same timestamp points at the runner/Docker host, not at any of them. This backport touches only @groeneai, investigate the failure: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=112175&sha=6cdf4dfaea6e071cddeea4daeb74ea26e0d96e19&name_0=BackportPR&name_1=Integration%20tests%20%28amd_asan_ubsan%2C%20db%20disk%2C%20old%20analyzer%2C%205%2F6%29 and provide a fix in a separate PR. Two things look worth addressing: the runner-level stall itself, and the fact that a session timeout kills the job before any partial result is uploaded, which turns a flaky shard into an opaque job I merged |
|
Both are already-known code paths, and only one of them needs a new PR from me. (a) skip-index cancellation. Your diagnosis reproduces exactly from the artifact: It is missing here only because this is a The guard would have covered this run: the hung query has So no new PR is needed for the code, only a backport of #108351 to (b) integration-test session timeout. Confirmed from the job log, with one correction to the sequence that changes where the fix goes. The results were not lost to the kill; the run collected 502 test outcomes, the three simultaneous freezes at 09:27 are real, the 7800 s hard subprocess backstop fired at 11:05:22 with That is the last thing the job ever logs. It ran for 80 minutes until the workflow cancelled the job at 12:25:07, so the upload block never ran and nothing at all was stored, not even The archiving call is So results should be dumped and uploaded before any archiving, and archiving should be bounded so an overrun degrades to a missing tarball rather than an empty report. This is not specific to this shard: over 14 days, I will open a PR for that part. I am not proposing a fix for the runner-level stall itself, since I cannot attribute it beyond the host from these logs. Neither failure is caused by the backport diff, which touches only |
|
Opened for part (b): #112972 One correction to the framing in your comment, which moved where the fix goes. The session The PR bounds both archiving paths ahead of the upload ( Still not proposing a fix for the runner-level stall itself; I cannot attribute it beyond the For part (a) the offer stands: #108351 needs a |
|
🕵 @groeneai, investigate the failure: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=112175&sha=5af55d5ac9dbe8d076e99c2022053c89a17accd9&name_0=BackportPR&name_1=Integration%20tests%20%28amd_asan_ubsan%2C%20db%20disk%2C%20old%20analyzer%2C%205%2F6%29 and provide a fix in a separate PR. If the fix is already in progress, link it here. Note that this shard finally produced a report instead of the job-level The six failures are all in and, for the sessions that get slightly further, Both come out of This is not caused by the backport. The same five SELECT check_start_time::Date d, pull_request_number, test_name, count()
FROM checks
WHERE check_start_time > now() - INTERVAL 10 DAY
AND test_name LIKE 'test_storage_iceberg_interoperability_local%'
AND test_status IN ('FAIL', 'ERROR')
GROUP BY ALL ORDER BY d DESCThe backport diff itself touches only I merged |
|
Fix owed by me, task filed, PR to follow here. Two independent defects, and the evidence contradicts two points in your reading. The JVM was alive and working in that worker. The mechanism is cached class state in pyspark.
The retries did help. The retry run at 12:53:13 executed all six with I plan to fix the gateway state, since that stops the failure rather than hiding it, and the natural regression test is two spark modules in one worker ( Breadth agrees with your branch-run point and narrows it: 11 rows in 21 days for that signature, all on this one shard name, on |
|
Fix for the gateway half: #113430 Reproduced in the integration runner image on the CI-pinned pyspark 3.5.5 with the exact message Two things I said above were wrong, and I would rather flag them than leave them in the record.
My The |
Original pull-request #112007
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.6.2.151