Skip to content

test: Add coverage for MSSQL DISTINCT+FETCH fix#5632

Merged
max-sixty merged 1 commit into
PRQL:mainfrom
max-sixty:5628-test-coverage
Dec 20, 2025
Merged

test: Add coverage for MSSQL DISTINCT+FETCH fix#5632
max-sixty merged 1 commit into
PRQL:mainfrom
max-sixty:5628-test-coverage

Conversation

@max-sixty
Copy link
Copy Markdown
Member

Summary

  • Expands test_mssql_distinct_fetch() to cover additional code paths in first_expr_from_projection()
  • Adds test cases for:
    • ExprWithAlias: column with alias uses the alias for ORDER BY
    • Multiple columns: first column is used for ORDER BY

Follow-up to #5630 to improve code coverage.

Test plan

  • All tests pass
  • New test cases verify correct ORDER BY column selection

🤖 Generated with Claude Code

Expands test_mssql_distinct_fetch() to cover additional code paths:
- ExprWithAlias: column with alias uses alias for ORDER BY
- Multiple columns: first column is used for ORDER BY

Follow-up to PRQL#5630 to improve code coverage.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@max-sixty max-sixty merged commit 377a1f3 into PRQL:main Dec 20, 2025
35 checks passed
@max-sixty max-sixty deleted the 5628-test-coverage branch December 20, 2025 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant