twuebi opened a new pull request, #1634:
URL: https://github.com/apache/iceberg-go/pull/1634

   The Parquet geospatial spec defines OGC:CRS84 as the default when a 
GEOMETRY/GEOGRAPHY logical type carries no CRS; the arrow-to-Iceberg conversion 
previously fabricated srid:0 for such fields, producing a type mismatch that 
failed projection with "cannot promote geometry(srid:0) to geometry".
   
   Map an absent CRS to Iceberg's default geometry/geography types instead; 
explicit CRS values, including an explicit srid, are unchanged. An absent 
Parquet geography algorithm already resolves to spherical before reaching this 
conversion, so the default algorithm needs no change.
   
   Symmetrically, stop serializing srid:0 as an omitted GeoArrow CRS on the 
write side: an unset Parquet CRS means OGC:CRS84, so an unknown CRS must be 
written explicitly to round-trip.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to