apache / sedona

A cluster computing framework for processing large-scale geospatial data
https://sedona.apache.org/
Apache License 2.0
1.96k stars 692 forks source link

[SEDONA-663] Support spark connect python api #1639

Closed sebbegg closed 1 month ago

sebbegg commented 1 month ago

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

This PR enables the python dataframe api to be used in spark-connect sessions. See https://github.com/apache/sedona/issues/1619 for the current status.

How was this patch tested?

Did this PR include necessary documentation updates?

Sebastian Eckweiler (sebastian.eckweiler@mercedes-benz.com), Mercedes-Benz AG on behalf of MBition GmbH (More Info)

sebbegg commented 1 month ago

Switched to use UnresolvedFunction instead of CallFunction which is only available for spark >= 3.5. UnresolvedFunction seems "stable" in that it exists in spark >= 3.4, including the 4.0 preview releases.