You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GeoArrow schema inference and the resulting Spark DataFrame should preserve input column order and field types. Each geometry column must retain its original values and row associations.
Actual behavior
With multiple geometry columns, infer_schema inserts fields at the wrong positions because its position counter advances only for non-geometry fields:
[first, second, id] becomes [second, first, id].
[first, id, second] becomes [first, second, id].
This concerns GeoPandas-to-Spark input schema positions, not Arrow output index metadata or generated field names containing dots.
Both cases fail on the unchanged base and are covered by these regression tests. The related Spark 3.5 integration test uses distinct values in each geometry column and checks their association with each row name.
Activity
[GH-3535] Preserve geometry column order in GeoArrow schema inference (…