-
Notifications
You must be signed in to change notification settings - Fork 14
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
get_index_for_condition should take into account the partial index #231
Comments
To be honest, I don't get what issue is described here, especially considering It seems that this issue is likely to be closed if we support specifying scan_index for issue #346 . If it is so, I'll close this issue in favor of #346 |
that's exactly the problem, it cannot use a partial index because if any other field is null, then the record will simply be lost. Before closing this ticket it is better to make a draft with tests covering this case |
Can you provide an example of the request and the description of expected and actual behavior? If relevant, with single instance request comparison. |
Ughhh... let's run command from Readme -> Quickstart
try to find Elizabeth
ok, the records are really exists let's add nullable field and add an partial index, it shouldn't break anything, right?
look for Elizabeth again
oops, what happened? drop index and retry search
Sigh... looks like it's fixed... |
Thank you, now I'll get what this ticket is about. |
Since
exclude_null
is implemented choosing the wrong index may affect the result.The text was updated successfully, but these errors were encountered: