Skip to content

[SPARK-54175][Geo][CONNECT] Add Geography and Geometry types to Spark Connect proto#52872

Closed
uros-db wants to merge 1 commit into
apache:masterfrom
uros-db:geo-spark-connect-proto
Closed

[SPARK-54175][Geo][CONNECT] Add Geography and Geometry types to Spark Connect proto#52872
uros-db wants to merge 1 commit into
apache:masterfrom
uros-db:geo-spark-connect-proto

Conversation

@uros-db
Copy link
Copy Markdown
Contributor

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

What changes were proposed in this pull request?

Add Geography and Geometry types to Spark Connect proto.

Why are the changes needed?

Enabling geospatial types in Spark Connect.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Regenerated the corresponding Spark Connect proto files.

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

No.

Copy link
Copy Markdown
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.

@cloud-fan
Copy link
Copy Markdown
Contributor

thanks, merging to master/4.1!

@cloud-fan cloud-fan closed this in 32060bf Nov 4, 2025
cloud-fan pushed a commit that referenced this pull request Nov 4, 2025
… Connect proto

### What changes were proposed in this pull request?
Add `Geography` and `Geometry` types to Spark Connect proto.

### Why are the changes needed?
Enabling geospatial types in Spark Connect.

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

### How was this patch tested?
Regenerated the corresponding Spark Connect proto files.

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

Closes #52872 from uros-db/geo-spark-connect-proto.

Authored-by: Uros Bojanic <uros.bojanic@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit 32060bf)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
huangxiaopingRD pushed a commit to huangxiaopingRD/spark that referenced this pull request Nov 25, 2025
… Connect proto

### What changes were proposed in this pull request?
Add `Geography` and `Geometry` types to Spark Connect proto.

### Why are the changes needed?
Enabling geospatial types in Spark Connect.

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

### How was this patch tested?
Regenerated the corresponding Spark Connect proto files.

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

Closes apache#52872 from uros-db/geo-spark-connect-proto.

Authored-by: Uros Bojanic <uros.bojanic@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
dongjoon-hyun added a commit to apache/spark-connect-swift that referenced this pull request Dec 23, 2025
…ift` source code

### What changes were proposed in this pull request?

This PR aims to update Spark Connect-generated Swift source code with Apache Spark `4.1.0`.

### Why are the changes needed?

To use the latest bug fixes and new messages to develop for new features of `4.1.0`.

- apache/spark#53024
- apache/spark#52894
- apache/spark#52890
- apache/spark#52872
- apache/spark#52746
- apache/spark#52831

```
$ git clone -b v4.1.0 https://github.com/apache/spark.git
$ cd spark/sql/connect/common/src/main/protobuf/
$ protoc --swift_out=. spark/connect/*.proto
$ protoc --grpc-swift_out=. spark/connect/*.proto

// Remove empty GRPC files
$ cd spark/connect
$ grep 'This file contained no services' * | awk -F: '{print $1}' | xargs rm
```

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

Pass the CIs.

### How was this patch tested?

Pass the CIs. I manually tested with `Apache Spark 4.1.0`.

```
$ swift test --no-parallel
...
Test run with 203 tests in 21 suites passed after 33.163 seconds.
```

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

No.

Closes #271 from dongjoon-hyun/SPARK-54811.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
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.

2 participants