Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix uuid toString #51

Merged
merged 1 commit into from
Nov 4, 2024
Merged

fix uuid toString #51

merged 1 commit into from
Nov 4, 2024

Conversation

jraymakers
Copy link
Contributor

Fix a bug in DuckDBUUIDValue.toString where the MSB wasn't being flipped before display. DuckDB UUID values are stored with the MSB flipped so that numeric ordering matches string ordering.

Also fixed the tests to actually compare the correct values. (This mistake in the tests covered up the mistake in the code, unfortunately.)

@jraymakers jraymakers merged commit 3f8cd76 into main Nov 4, 2024
3 checks passed
@jraymakers jraymakers deleted the jray/fix-uuid-to-string branch November 4, 2024 04:38
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