Skip to content

Conversation

@uros-db
Copy link
Contributor

@uros-db uros-db commented Nov 3, 2025

What changes were proposed in this pull request?

This PR introduces type encoders for Geography and Geometry in PySpark.

Note that Scala-side encoders for geospatial types were added in: #52813.

Why are the changes needed?

Expanding client support for geospatial types in PySpark API.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

New PySpark unit tests:

  • test_types
  • test_parity_types

Was this patch authored or co-authored using generative AI tooling?

No.

uros-db

This comment was marked as outdated.

uros-db

This comment was marked as outdated.

@uros-db uros-db marked this pull request as draft November 4, 2025 07:42
@uros-db uros-db marked this pull request as ready for review November 5, 2025 19:45
uros-db

This comment was marked as outdated.

@zhengruifeng
Copy link
Contributor

@uros-db the test failures seems related

@uros-db uros-db marked this pull request as draft November 7, 2025 06:00
@uros-db uros-db marked this pull request as ready for review November 8, 2025 04:58
@uros-db
Copy link
Contributor Author

uros-db commented Nov 8, 2025

@zhengruifeng @HyukjinKwon @cloud-fan All checks good now.

Copy link
Contributor Author

@uros-db uros-db left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#52930 is merged, so this PR is ready to move on.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM. Thank you, @uros-db and all.

Merged to master/4.1.

dongjoon-hyun pushed a commit that referenced this pull request Nov 8, 2025
…es in PySpark

### What changes were proposed in this pull request?
This PR introduces type encoders for `Geography` and `Geometry` in PySpark.

Note that Scala-side encoders for geospatial types were added in: #52813.

### Why are the changes needed?
Expanding client support for geospatial types in PySpark API.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
New PySpark unit tests:
- `test_types`
- `test_parity_types`

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes #52861 from uros-db/geo-pyspark-encoders.

Authored-by: Uros Bojanic <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit d304a03)
Signed-off-by: Dongjoon Hyun <[email protected]>
zifeif2 pushed a commit to zifeif2/spark that referenced this pull request Nov 22, 2025
…es in PySpark

### What changes were proposed in this pull request?
This PR introduces type encoders for `Geography` and `Geometry` in PySpark.

Note that Scala-side encoders for geospatial types were added in: apache#52813.

### Why are the changes needed?
Expanding client support for geospatial types in PySpark API.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
New PySpark unit tests:
- `test_types`
- `test_parity_types`

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes apache#52861 from uros-db/geo-pyspark-encoders.

Authored-by: Uros Bojanic <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
huangxiaopingRD pushed a commit to huangxiaopingRD/spark that referenced this pull request Nov 25, 2025
…es in PySpark

### What changes were proposed in this pull request?
This PR introduces type encoders for `Geography` and `Geometry` in PySpark.

Note that Scala-side encoders for geospatial types were added in: apache#52813.

### Why are the changes needed?
Expanding client support for geospatial types in PySpark API.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
New PySpark unit tests:
- `test_types`
- `test_parity_types`

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes apache#52861 from uros-db/geo-pyspark-encoders.

Authored-by: Uros Bojanic <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants