Closed smnorris closed 6 months ago
The error message was caused by Parquet column of type NULL. I don''t want to know why such horrible stuff is permitted... Anyway will be fixed per #9647. You may also add --config OGR2OGR_USE_ARROW_API NO
to avoid the error message
What is the bug?
When loading a GeoParquet file to Postgres with ogr2ogr, the error noted in title is emitted. The translation seems to work fine - the output feature count in the target db matches the source file and the schema is as expected.
https://github.com/OSGeo/gdal/blob/801b1c8e737f624cd17c23c728ad9cf624b758dd/ogr/ogrsf_frmts/arrow_common/ograrrowlayer.hpp#L4371
Steps to reproduce the issue
Versions and provenance
GDAL is from Homebrew.
GeoParquet file was created with Geopandas v.0.14.3 using the
to_parquet
function, run on a Docker image based onghcr.io/osgeo/gdal:ubuntu-full-3.8.4
.Additional context
No response