Closed brendan-ward closed 2 months ago
Added changelog entry to call this out as a potentially breaking change, since switching from the incorrect behavior that existed prior to this PR to the latest will now break folks that relied on this (myself included).
Resolves #388
Drivers will return inconsistent results when
columns
does not include the columns referenced inwhere
expression. For some drivers, this will either return 0 results or raise an exception; other drivers appear to work without issue (GPKG, GeoJSON). Added documentation to indicate that users should include the column used bywhere
in their list of columns.The test added here verifies that fields are indeed ignored by GDAL (previously they weren't properly ignored).