Repository navigation
Add ExtractColumnsStep::clone and "Not-ready Set" regression tests - #130373
Conversation
Split out of #102192. `ExtractColumnsStep` did not implement `clone`, so an `IN` subquery whose source plan contains it made `FutureSetFromSubquery::buildOrderedSetInplace` take the destructive fallback introduced in #107924. Also add the regression tests for the "Not-ready Set is passed as the second argument" exception fixed by #107924, using the `prepared_sets_build_ordered_set_inplace_fail` failpoint: the original parallel replicas reproducer and a `WITH FILL` subquery source plan. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Workflow [PR], commit [56358a8] Summary: ✅
AI ReviewSummaryAdds Final VerdictStatus: ✅ Approve |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Compile time of recompiled translation units8 translation units recompiled, 31 s compile time in total, 8 of them have a recent master baseline. |
Related: #102192
Related: #107924
Split out of #102192 (part 1 of 6).
#107924 made
FutureSetFromSubquery::buildOrderedSetInplacerun the speculative in-place set build of anINsubquery against a clone of the source plan, so that a silent in-place failure (e.g.timeout_overflow_mode = 'break') no longer leaves the set permanently unbuilt with the "Not-ready Set is passed as the second argument" exception. Plans with a step that does not implementIQueryPlanStep::clonestill take the old destructive path.This PR:
ExtractColumnsStep::clone;prepared_sets_build_ordered_set_inplace_failfailpoint:04095_global_not_in_parallel_replicas(the original reproducer from the Stress test (amd_tsan)) and04492_not_ready_set_with_fill_subquery(aWITH FILLsubquery source plan).Changelog category (leave one):
🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/130373]
Version info
26.11.1.1842-master(included in26.11and later)