Repository navigation
Pin the subquery query result cache tests to query-based parallel replicas - #131464
Conversation
…licas The subquery query result cache is not used with plan-based parallel replicas, #131463. Pin the tests that expect a cached subquery, so they keep testing the cache in the plan-based parallel replicas job. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Workflow [PR], commit [e1cc844] Summary: ✅ AI ReviewSummaryThe PR keeps subquery query-result-cache assertions active by setting Final VerdictStatus: ✅ Approve. |
groeneai
left a comment
There was a problem hiding this comment.
I ran the 19 tests on a master debug build (a33e1c16, which has #130376) with the configuration of the job from #128413: users.d/enable_parallel_replicas.xml, config.d/enable_parallel_replicas.xml and the parallel_replicas_plan_based profile, the runner with --no-parallel-replicas, and default_parallel_replicas at is_local 1/0/0.
- PR head: 95/95 OK (19 tests x 5 randomized runs).
- Base, without the pins: all 19 fail, 0 OK.
So every pin is needed and each one works. Two optional notes:
05141: the CONST user is not readonly (its profile constrains onlyuse_query_cache), so it accepts--parallel_replicas_plan_based 0. With plan-based parallel replicas an unconstrained user caches nothing either (measured: 0 subquery entries without the pin, 1 with it), so in this job the CONST and RO "caches nothing" cases pass whatever the constraint does. Pinning${CONST}like${FREE}keeps the CONST case meaningful there.${RO}rejects the flag (READONLY), butparallel_replicas_plan_based = 0in${RO_PROFILE}is accepted: the readonly user then runs query-based and still caches nothing, while the same profile withoutreadonlycaches the subquery.04327: the pin now sits between theinteractive_delaycomment and its query. Above that comment, or next to theis_subquery = 1check at the end of the file (the only part that fails without the pin), reads better.
Only its subquery cache check depends on the implementation, and nothing in the test needs parallel replicas. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Thanks for checking all 19. |
…st, regenerate the workflows They are pinned or tagged in master since #131464 and #131666. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…l replicas The subquery query result cache is not used with plan-based parallel replicas, ClickHouse#131463. `04648` and `04652` came with ClickHouse#130375, after the other cache tests were pinned in ClickHouse#131464. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The subquery query result cache is not used with plan-based parallel replicas (
parallel_replicas_plan_based): since #130376 thePlannerdoes not add the cache steps whenever plan-based parallel replicas can be used for the query, also when nothing is shipped. This pins the 19 tests that expect a cached subquery toparallel_replicas_plan_based = 0, so they keep testing the cache in the plan-based parallel replicas job of #128413 instead of being listed in its blacklist. In05141_settings_constraints_nested_settings_effectiveonly the unconstrained user's client is pinned: the readonly users reject the setting, and their cases expect nothing cached anyway.The pins are removed when #131463 is resolved.
Related: #131463
Related: #130376
Related: #128413
Changelog category (leave one):
🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/131464]
Version info
26.11.1.2318-master(included in26.11and later)