Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Fix minor issues of Databricks setup guide based on my recent experience #1568

Merged
merged 1 commit into from
Aug 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions docs/setup/databricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ In Spark 3.2, `org.apache.spark.sql.catalyst.expressions.Generator` class added
* ST_MakeValid
* ST_SubDivideExplode

!!!note
The following steps use DBR including Apache Spark 3.4.x as an example. Please change the Spark version according to your DBR version.

### Download Sedona jars

Download the Sedona jars to a DBFS location. You can do that manually via UI or from a notebook by executing this code in a cell:
Expand Down Expand Up @@ -102,9 +105,9 @@ spark.kryo.registrator org.apache.sedona.core.serde.SedonaKryoRegistrator

From your cluster configuration (`Cluster` -> `Edit` -> `Configuration` -> `Advanced options` -> `Init Scripts`) add the newly created `Workspace` init script

```
/Workspace/sedona/sedona-init.sh
```
| Type | File path |
|------|-----------|
| Workspace | /Shared/sedona/sedona-init.sh |

For enabling python support, from the Libraries tab install from PyPI

Expand Down
Loading