Repository navigation
Add test: FINAL-disable guard for virtual row optimization untested with SELECT FROM ... FINAL - #103984
Add test: FINAL-disable guard for virtual row optimization untested with SELECT FROM ... FINAL#103984clickgapai wants to merge 2 commits into
SELECT FROM ... FINAL#103984Conversation
|
Workflow [PR], commit [3db9b67] Summary: ❌
|
|
CI check This PR is test-only; the bot will not retrigger CI or modify the test to chase a failure that appears unrelated. If you believe the failure is related to this test, please comment with details and the bot will re-evaluate. |
|
This PR has accumulated 5 CI failures that don't reference its test, so the bot has not attempted any fix. Closing — please re-run CI or comment if you'd like the bot to look again. |
|
The bot has tried to address CI failures on this PR 5 times without a successful push (logs unavailable / context insufficient / plan rejected). Stopping further auto-fix attempts on |
|
CI failure in |
|
ClickGap AI Bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
|
CI failure in |
|
@groeneai can you take this up and open a new PR? |
|
Taking this up. Triaged against master Verified: It will be re-filed as part of an area-grouped PR rather than its own PR, to keep reviewer load down (26 in this batch plus 18 from the earlier one today). Full triage and the grouping plan: #101781 (comment) |
|
Re-filed as #114305, the MergeTree/index group, covering this gap together with three others from the same batch. Adopted as Fixed by adding a |
Found via ClickGap automated review. Please close or comment if this is incorrect or needs adjustment.
Retrospective finding from a historical scan of PR #62125 (merged 2024-11-11). Confirmed on current codebase — close with a note if already fixed.
This is a test-only PR — no source code changes. Please review: test quality, whether the claimed coverage gaps are real, and whether test output makes sense.
Adds test coverage for 1 untested code path(s), found during automated review of PR #62125.
That PR PR #62125 introduces a new read-in-order optimization called 'virtual row'. When
optimize_read_in_order=1and the new settingread_in_order_use_virtual_row=1(default off) are both enabled, the planner inserts a synthetic 'virtual row' (containing the first PK value of each part) into the merge1. FINAL-disable guard for virtual row optimization untested with
SELECT FROM ... FINALsrc/Processors/QueryPlan/ReadFromMergeTree.cpp:2896Risk: Call chain:
optimizeReadInOrderbuildsvirtual_row_conversionfor any ORDER BY matching the storage sort key → callsReadFromMergeTree::setVirtualRowConversions→ guard atReadFromMergeTree.cpp **What's unique vs PR tests:** The PR's own three tests (03031_read_in_order_optimization_with_virtual_row*.sql) only use plainMergeTreeand neverSELECT FROM FINAL. Follow-up tests (03809,04029,04045,04049, **Tags:**-- Tags: no-random-merge-tree-settings—no-random-merge-tree-settings: Random MergeTree settings can change index granularity and merge behavior, which would shift how many parts exist afterSYSTEM STOP MERGES` and could change virtual-row triggering — making count()/sum() outputs nondeterministic.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Not applicable — test-only change.
Documentation entry for user-facing changes