This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 227
Compile WHERE k IN (1,2,3) into batched get #7
Labels
Comments
This could be staged in two parts:
My take would be to start with implementing just 1.1 - folks can always rewrite a query like 1.2 using the IN syntax. For 1.2, you'd need to detect when you can't optimize it, so it'd be a little more work. My take on how 1.1 would be implemented:
So somewhat involved, but somewhat isolated. I'm sure they'll be gotchas, though. If you're still up for it, let me know and we can talk further over a whiteboard. |
Fixed (by Ron) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When an IN (or the equivalent OR) appears in a query using the leading row key columns, compile it into a batched get to more efficiently retrieve the query results. Currently, the scan key will be set to the min value and max value in the IN instead.
The text was updated successfully, but these errors were encountered: