Skip to content

fix(sqlserver): preserve index sort direction - #2686

Open
HandSonic wants to merge 1 commit into
OtterMind:mainfrom
HandSonic:fix/sqlserver-index-direction
Open

fix(sqlserver): preserve index sort direction#2686
HandSonic wants to merge 1 commit into
OtterMind:mainfrom
HandSonic:fix/sqlserver-index-direction

Conversation

@HandSonic

Copy link
Copy Markdown
Contributor

Summary

  • Map SQL Server is_descending_key values to the correct ASC/DESC direction.
  • Cover both index metadata and generated DDL with regression tests.

Validation

  • Focused tests: 5/5
  • SQL Server module tests: 80/80
  • Maven package

Fixes #2683

@HandSonic
HandSonic requested a review from openai0229 as a code owner August 12, 2026 00:57
@openai0229 openai0229 moved this to In Review in Chat2DB Community Aug 12, 2026
@HandSonic
HandSonic force-pushed the fix/sqlserver-index-direction branch from db73890 to 23f689b Compare August 12, 2026 16:55
@HandSonic
HandSonic force-pushed the fix/sqlserver-index-direction branch from 23f689b to 1acdd2a Compare August 19, 2026 20:01
openai0229
openai0229 previously approved these changes Aug 20, 2026

@openai0229 openai0229 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The SQL Server mapping is corrected consistently for metadata and generated DDL, with focused ascending/descending coverage. Approved.

@openai0229
openai0229 dismissed their stale review August 20, 2026 03:45

Superseded by a corrected review because shell quoting corrupted the submitted text.

@openai0229 openai0229 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The SQL Server is_descending_key mapping is corrected consistently for metadata and generated DDL, with focused ascending/descending coverage. Approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

bug(sqlserver): index metadata reverses ASC and DESC directions

2 participants