Skip to content

Conversation

@jycor
Copy link
Contributor

@jycor jycor commented Dec 5, 2025

If we are filtering an indexed column with a simple IN query, we can avoid building a range tree.
This currently only applies to integer columns, but it's possible to expand it to floats and decimals.

Also, simplifies rounding checks for float/decimal keys on integer indexes.

Benchmarks:
dolthub/dolt#10133 (comment)

@jycor jycor requested a review from reltuk December 5, 2025 22:32
Copy link
Contributor

@reltuk reltuk left a comment

Choose a reason for hiding this comment

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

LGTM. Only concern, brought up offline, is verifying overflow behavior is correct for the signed <-> unsigned cases.

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.

3 participants