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
[SPARK-53921][GEO][PYTHON][FOLLOWUP] Fix invalid algorithm error for Geography JSON parsing
### What changes were proposed in this pull request?
This PR follows up on #52627, and fixes an issue with `GeographyType` JSON parsing in PySpark. Also, this PR adds appropriate tests for JSON parsing, both for `GeographyType` and `GeometryType`.
### Why are the changes needed?
Fixing a wrong error class thrown in the JSON parsing method for `GeographyType`.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Added new test cases to:
- `pyspark.sql.tests.test_geographytype`
- `pyspark.sql.tests.test_geometrytype`
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes#52772 from uros-db/geo-python-types-tests.
Authored-by: Uros Bojanic <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
0 commit comments