Skip to content

Verify SQLServer aggregate column index mapping - #40590

Merged
terrymanu merged 1 commit into
apache:masterfrom
terrymanu:codex/sqlserver-aggregate-regression
Dec 4, 2026
Merged

terrymanu merged 1 commit into
apache:masterfrom
terrymanu:codex/sqlserver-aggregate-regression

Conversation

@terrymanu

Copy link
Copy Markdown
Member

No description provided.

@terrymanu

Copy link
Copy Markdown
Member Author

Summary

Add regression protection for SQLServer column-index fallback when aggregate column labels are empty, covering SELECT *, AVG derived columns, and multiple aggregates. The tests verify column indexes, complete merged rows, and result exhaustion; the change also adds the required annotation.

Result

Review Result: Mergeable
No blocking issues or recommended changes remain.

Evidence

All 36 tests in the target test class passed. The three new tests failed as expected against the implementation before the fix.
Spotless and Checkstyle both exited with code 0; the three previously authorized warnings remain.
The mechanical scanner exited with code 1, reporting only an unchanged, unrelated diagnostic in an existing helper, with no new diagnostics.
Two independent complete reviews, coordinator verification, and final review-session validation completed.

Coverage

Standalone local candidate based on master@572ddda27306a4b8eac5dde8777abf75a104097e.
The complete scope comprises two files and 88 added lines.
This conclusion covers code correctness. Tests use mocked result sets; native SQLServer and CI validation were not performed.

@terrymanu
terrymanu merged commit ac52459 into apache:master Dec 4, 2026
5 checks passed
@terrymanu
terrymanu deleted the codex/sqlserver-aggregate-regression branch December 4, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants