ryux1 opened a new issue, #3329:
URL: https://github.com/apache/sedona/issues/3329

   ## Problem
   
   Adding `GeometryCollection([Point(), LineString(), Polygon()])` to the 
shared GeoPandas parity fixture makes `TestMatchGeopandasSeries::test_to_arrow` 
fail on the Python 3.9 / Spark 3.5 matrix. GeoPandas emits standard 2D WKB type 
codes for the collection and empty members, while Sedona emits ISO Z-offset 
type codes for part of the value even though the source geometries are 2D 
empties.
   
   Minimal fixture:
   
   ```python
   GeometryCollection([Point(), LineString(), Polygon()])
   ```
   
   CI evidence from #3326:
   
   - failing job: 
https://github.com/apache/sedona/actions/runs/34006133363/job/101414174901
   - expected prefix: `010700000003000000010100...`
   - Sedona prefix: `01EF03000003000000010100...` (collection type 1007), with 
an empty LineString encoded using type 1002
   - result: 1 failure, 2,092 passes, 44 skips
   
   The fixture was removed from #3326 so that PR can remain scoped to passing 
edge-case coverage. This issue records the independently demonstrated 
serialization mismatch rather than masking it with an expected failure.
   
   ## Expected behavior
   
   `GeoSeries.to_arrow()` should match GeoPandas for a 2D `GeometryCollection` 
whose typed members are all empty, including the WKB dimensionality/type codes.


-- 
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]

Reply via email to