-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ILIKE not working on GeoPackage #35698
Comments
@gubuntu does not seems a QGIS issue:
works
does not. If you replace the input datasource with a shapefile it works in both cases. |
ILIKE is not a SQLite3 supported operator: see https://www.sqlite.org/lang_expr.html It look like the QgsSQLiteExpressionCompiler class that translates QGIS expression to backend SQL should be modified to fail on ILIKE (as the generic QgsOgrExpressionCompiler does), so that QGIS-side evaluation is done |
@gubuntu @rouault The subset string used by The sqlite expression compiler issue is unrelated (but becomes visible, if you use an expression with |
See my comment before closing the issue: There is no issue as the filter string is provider specific and SQLite/GPKG doesn't support ILIKE - others do. That's why the issue was closed. |
Describe the bug
ILIKE is not supported in queries against GeoPackages
LIKE works fine. ILIKE gives this error.
ILIKE works fine against the same data in a shapefile.
How to Reproduce
Try filtering with ILIKE against a GeoPackage
QGIS and OS versions
Additional context
The text was updated successfully, but these errors were encountered: