-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
GPKG: disable by default multi-threaded ArrowArray interface. Make it… #9018
Conversation
9d883ad
to
2f7e845
Compare
Out of interest, does the "consecutive feature ID numbering" support cases with missing ID numbers when some rows have been deleted from the middle of a table? |
no, consecutive feature ID numbering means no holes and N features with id = 1, 2, .... N where N is the total number of features. |
2f7e845
to
55e6ff5
Compare
… opt-in with the OGR_GPKG_NUM_THREADS config option Cf https://lists.osgeo.org/pipermail/gdal-dev/2024-January/058177.html
55e6ff5
to
c4d5e5d
Compare
Is that tested so that user cannot activate numthreads>1 and ArrowArray interface if that is doomed to fail? |
yes, the optimization checks that |
User from the mailing list here, here's a GeoPackage to hopefully (?) reproduce the problem. The original dataset contains geometries that were removed for the example, leaving only the fid column.
|
Thanks. I did reproduce. The issue was related to the number of features vs the batch size. As far as I can see, there should be no corruption and the error message could thus be ignored. fix in #9026 |
… opt-in with the OGR_GPKG_NUM_THREADS config option
Cf https://lists.osgeo.org/pipermail/gdal-dev/2024-January/058177.html