-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Select by attribute selects the wrong features #34314
Comments
I don't think it's the same, it's not on the query builder. It does not select all rows, though that cannot be distinguished with the small dataset I attached, so here are some more rows. Try |
Confirmed |
(hit the wrong button!) |
Only allow evaluation of number-like strings as numbers when we aren't comparing two strings (matches behavior with other expression comparison functions like equals) Fixes qgis#34314
Only allow evaluation of number-like strings as numbers when we aren't comparing two strings (matches behavior with other expression comparison functions like equals) Fixes #34314
Describe the bug
Using the select by attribute tool selects the wrong features under circumstances.
In my case, it happens when using a
WHERE field IN ('values')
clause.How to Reproduce
select_in.gpkg.zip
Load the attached geopackage and use select by attribute:
g_prop_id = '010080383000187219'
selects one feature, okG_PROP_ID in ('010080383000187219')
selects one feature, okg_prop_id in ('010080383000187219')
selects three features, not okUsing these expressions as a filter always returns correctly one feature.
QGIS and OS versions
Debian with a week old master build.
Additional context
First noticed on Oracle layer, exported to geopackage and it still happens.
The text was updated successfully, but these errors were encountered: