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

Sort NULL values like an empty string. #104

Merged
merged 1 commit into from
Jun 18, 2024
Merged

Sort NULL values like an empty string. #104

merged 1 commit into from
Jun 18, 2024

Conversation

scudette
Copy link
Contributor

Normally NULL comparisons are always false but this causes non deterministic sorting behavior. This PR special cases NULL fields in comparisons as an empty string to ensure they can be properly sorted.

Normally NULL comparisons are always false but this causes non
deterministic sorting behavior. This PR special cases NULL fields in
comparisons as an empty string to ensure they can be properly sorted.
@scudette scudette merged commit cd2ef63 into master Jun 18, 2024
3 checks passed
@scudette scudette deleted the sort branch June 18, 2024 02:31
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