Skip to content

test: regression test for LadybugDB/ladybug#1067 ORDER BY STRING then numeric - #56

Open
adsharma wants to merge 1 commit into
LadybugDB:mainfrom
adsharma:fix-1067-orderby-regression
Open

adsharma wants to merge 1 commit into
LadybugDB:mainfrom
adsharma:fix-1067-orderby-regression

Conversation

@adsharma

Copy link
Copy Markdown
Contributor

Regression test for LadybugDB/ladybug#1067.

Covers the KeyBlockMerger bug where merging sorted key blocks ignored trailing keys once all STRING keys tied, misordering e.g. ORDER BY <STRING>, <numeric>. Deterministic once the sort spills to multiple key blocks (20k rows).

Companion fix: LadybugDB/ladybug#1072. Test fails before the fix (rows == sorted(rows) is False) and passes after. CI will validate.

… numeric

Merging sorted key blocks ignored trailing keys once all STRING keys
tied, misordering the second key (deterministic with multiple key
blocks, e.g. 20k rows).
@adsharma
adsharma force-pushed the fix-1067-orderby-regression branch from 2573fdc to 3fe5b42 Compare September 29, 2026 17:01
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