-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Incorrect Filter results with IN #6154
Comments
Assuming If you can privately share the app code and relevant data needed to reproduce this it'd probably be quite easy to figure out where things are going wrong, but otherwise it may be hard to figure out what the problematic case is as we do have some tests of IN on ints in a subquery. |
@tgoyne hi, thanks for pointing to that change. We were also seeing this bug with realm v3.16, and downgrading to release v3.14 (which doesn't include realm/realm-core#3271) fixes it for us. Anything I can do to help reproduce/fix please let me know! |
Another user supplied a repro case for what's probably the same bug in realm-java so we hopefully have what we need to fix this. |
realm/realm-core#3320 should fix this. |
Hey - looks like you forgot to add a T:* label - could you please add one? |
@tgoyne after upgrading to 3.17.3 we still see the original issue. Was the bug in realm-java confirmed to be fixed? |
Goals
Correct filtering with predicate
Expected Results
Return all objects with id which are in sequence.
Actual Results
Return only some objects with id which are in sequence.
Steps to Reproduce
Call method
var result = championship.events.filter("id IN %@",eventIds)
Code Sample
Version of Realm and Tooling
Realm framework version: 3.15.0
Xcode version: 10.2.1 (10E1001)
iOS/OSX version: 12.3.1
The text was updated successfully, but these errors were encountered: