Repository navigation
Add test for aggregation in order mismatch scenario - #105369
Conversation
|
Workflow [PR], commit [9af4ac3] Summary: ✅ AI ReviewSummaryThis PR adds and re-enables stateless coverage for the interaction between Findings
Tests
Final VerdictStatus: Minimum required action: fix |
| = | ||
| (SELECT sum(s), count() FROM | ||
| (SELECT a, sum(b) AS s FROM test GROUP BY a | ||
| SETTINGS optimize_aggregation_in_order = 0)); |
There was a problem hiding this comment.
This assertion currently compares two subqueries that both set optimize_aggregation_in_order = 0, so it never exercises the optimize_aggregation_in_order = 1 path. That makes the preceding SET optimize_aggregation_in_order = 1 effectively dead for the compared queries, and this test can still pass even if the in-order aggregation path regresses.
Can we make one side run with optimize_aggregation_in_order = 1 (or remove both per-subquery overrides and rely on the outer SET) so the test actually validates the mismatch scenario?
LLVM Coverage Report
Changed lines: No C/C++ source files changed — skipping uncovered code analysis. Newly covered by added/modified tests: 915 line(s), 52 function(s) across 134 file(s) · Details Top files
|
1b10470
Trying to see if the same parallel replica mismatch bug reproduces without sharded aggregation from #104233
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Version info
26.6.1.402