jiayuasu opened a new pull request, #3302: URL: https://github.com/apache/sedona/pull/3302
## 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 #2068 ## What changes were proposed in this PR? This PR implements the `limit` parameter for `GeoSeries.fillna`. - Fill only the first `limit` missing geometries in the natural row order. - Support scalar geometries, local GeoPandas GeoSeries, and distributed Sedona GeoSeries replacements. - Preserve the left index, row order, name, and CRS while matching GeoPandas alignment and duplicate-index behavior. - Avoid materializing a driver-sized replacement series for scalar fills. - Document the distributed ordering cost and add a release note. ## How was this patch tested? - Focused GeoSeries fillna and parity tests on Spark 3.5: 23 passed. - Focused GeoSeries fillna and parity tests on Spark 4.1: 23 passed. - Shapely 1 compatibility tests: 3 passed. - All commit hooks passed, including Black, Bandit, codespell, gitleaks, and markdownlint. ## Did this PR include necessary documentation updates? - 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]
