Skip to content

Conversation

@uros-db
Copy link
Contributor

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

What changes were proposed in this pull request?

Re-enable Scala/Python parity check for ST geospatial functions in test_function_parity.

Why are the changes needed?

The test was temporarily disabled in #52803, but the corresponding functions have been subsequently added on PySpark side as part of #52849.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing tests suffice:

  • test_functions

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.

Waiting for CI.

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.

dongjoon-hyun pushed a commit that referenced this pull request Nov 6, 2025
…ST functions

### What changes were proposed in this pull request?
Re-enable Scala/Python parity check for ST geospatial functions in `test_function_parity`.

### Why are the changes needed?
The test was temporarily disabled in #52803, but the corresponding functions have been subsequently added on PySpark side as part of #52849.

### Does this PR introduce _any_ user-facing change?
Yes, casting `GEOGRAPHY(<srid>)` to `GEOGRAPHY(ANY)` is now allowed.

### How was this patch tested?
Existing tests suffice:
- `test_functions`

Closes #52907 from uros-db/geo-function_parity.

Authored-by: Uros Bojanic <uros.bojanic@databricks.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit b284a2c)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun
Copy link
Member

Merged to master/4.1 for Apache Spark 4.1.0. Thank you, @uros-db and all.

zifeif2 pushed a commit to zifeif2/spark that referenced this pull request Nov 22, 2025
…ST functions

### What changes were proposed in this pull request?
Re-enable Scala/Python parity check for ST geospatial functions in `test_function_parity`.

### Why are the changes needed?
The test was temporarily disabled in apache#52803, but the corresponding functions have been subsequently added on PySpark side as part of apache#52849.

### Does this PR introduce _any_ user-facing change?
Yes, casting `GEOGRAPHY(<srid>)` to `GEOGRAPHY(ANY)` is now allowed.

### How was this patch tested?
Existing tests suffice:
- `test_functions`

Closes apache#52907 from uros-db/geo-function_parity.

Authored-by: Uros Bojanic <uros.bojanic@databricks.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
huangxiaopingRD pushed a commit to huangxiaopingRD/spark that referenced this pull request Nov 25, 2025
…ST functions

### What changes were proposed in this pull request?
Re-enable Scala/Python parity check for ST geospatial functions in `test_function_parity`.

### Why are the changes needed?
The test was temporarily disabled in apache#52803, but the corresponding functions have been subsequently added on PySpark side as part of apache#52849.

### Does this PR introduce _any_ user-facing change?
Yes, casting `GEOGRAPHY(<srid>)` to `GEOGRAPHY(ANY)` is now allowed.

### How was this patch tested?
Existing tests suffice:
- `test_functions`

Closes apache#52907 from uros-db/geo-function_parity.

Authored-by: Uros Bojanic <uros.bojanic@databricks.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
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