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

match range key with range type #2294

Merged
merged 4 commits into from
Jan 26, 2024
Merged

match range key with range type #2294

merged 4 commits into from
Jan 26, 2024

Conversation

jycor
Copy link
Contributor

@jycor jycor commented Jan 26, 2024

Creating lookups when comparing columns of different types were causing problems.
Especially, if one of the types is a string.

This is not a perfect fix as we don't do truncation yet, but it will stop panics.

Reused solution from this PR:
#2177

It fixes the test case in this issue, but a skipped test is added for missing truncation functionality.
dolthub/dolt#7371

@jycor jycor mentioned this pull request Jan 26, 2024
Copy link
Contributor

@max-hoffman max-hoffman left a comment

Choose a reason for hiding this comment

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

Seems good as a point fix. This is going to miss the same error for straight range scans and maybe miss collation-specific behaviors.

@jycor jycor merged commit 39560ff into main Jan 26, 2024
7 checks passed
@jycor jycor deleted the james/index branch January 26, 2024 21:28
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.

2 participants