jiayuasu opened a new pull request, #3185:
URL: https://github.com/apache/sedona/pull/3185

   ## Did you read the Contributor Guide?
   
   - Yes, I have read the [Contributor 
Rules](https://sedona.apache.org/latest/community/rule/) and [Contributor 
Development Guide](https://sedona.apache.org/latest/community/develop/)
   
   ## Is this PR related to a ticket?
   
   - Yes, and the PR name follows the format `[GH-XXX] my subject`. Closes #3181
   
   ## What changes were proposed in this PR?
   
   This PR implements distributed GeoPandas-compatible `GeoDataFrame.dissolve` 
and `geopandas.tools.collect`.
   
   `dissolve` uses a native Spark `groupBy` with Sedona `ST_Union_Aggr` and 
native Spark attribute aggregations. It supports GeoPandas grouping, index, 
ordering, aggregation, null, empty, CRS, and SRID semantics without a Python 
row UDF.
   
   `tools.collect` performs geometry aggregation with `ST_Collect_Aggr` on 
executors and materializes only the single scalar result required by the API. 
It does not collect the input geometry rows to the driver.
   
   English and Chinese GeoPandas API documentation are updated for the new APIs.
   
   ## How was this patch tested?
   
   - `python/tests/geopandas/test_geometry_aggregation.py` (13 tests)
   - Repository pre-commit hooks
   
   The tests cover grouped and ungrouped dissolve, Series and MultiIndex 
groupers, `as_index`, sorting, `dropna`, supported aggregation forms, 
source-order-sensitive aggregations, null/empty/all-null geometries, CRS/SRID 
preservation, validation, and distributed `tools.collect`.
   
   ## Did this PR include necessary documentation updates?
   
   - Yes, I am adding new APIs. I am using the current SNAPSHOT version number 
`v1.9.1`.
   - Yes, I have updated the documentation.
   


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