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 sort cell behavior for query results #410

Merged
merged 2 commits into from
Feb 3, 2021
Merged

Fix sort cell behavior for query results #410

merged 2 commits into from
Feb 3, 2021

Conversation

czgu
Copy link
Collaborator

@czgu czgu commented Feb 3, 2021

Previously, there was no unified way to compare between cells while sorting, this means when there are ints and strs, the comparison function changes behavior depending on the values compared.
Now type checking is applied ahead of time (but lazily computed only when sorting happens) so that we only use str sort for strings and int sort for ints

@czgu czgu added bug Something isn't working patch release Bug fix/version bump/small feature labels Feb 3, 2021
Copy link
Contributor

@franklinbegood franklinbegood left a comment

Choose a reason for hiding this comment

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

najs

@czgu czgu merged commit 4bea468 into master Feb 3, 2021
@czgu czgu deleted the sortcellfix branch February 3, 2021 21:52
rohan-sh1 pushed a commit to CAI-TECHNOLOGIES/cai-ext-db-explorer that referenced this pull request Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working patch release Bug fix/version bump/small feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants