-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated the base docker to delta 3.0 and spark 3.5. (#60)
- Loading branch information
Showing
4 changed files
with
116 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "quickstart" | ||
version = "0.1.1" | ||
rust-version = "1.64" | ||
version = "0.1.2" | ||
rust-version = "1.73" | ||
authors = ["Denny Lee <[email protected]>"] | ||
license = "Apache-2.0" | ||
keywords = ["deltalake", "delta", "datalake", "deltars"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
#!/bin/bash | ||
|
||
source "$HOME/.cargo/env" | ||
|
||
export PYSPARK_DRIVER_PYTHON=jupyter | ||
export PYSPARK_DRIVER_PYTHON_OPTS='lab --ip=0.0.0.0' | ||
export DELTA_SPARK_VERSION='3.0.0' | ||
export DELTA_PACKAGE_VERSION=delta-spark_2.12:${DELTA_SPARK_VERSION} | ||
|
||
$SPARK_HOME/bin/pyspark --packages io.delta:${DELTA_PACKAGE_VERSION} \ | ||
--conf "spark.sql.extensions=io.delta.sql.DeltaSparkSessionExtension" \ | ||
--conf "spark.sql.catalog.spark_catalog=org.apache.spark.sql.delta.catalog.DeltaCatalog" | ||
--conf "spark.driver.extraJavaOptions=-Divy.cache.dir=/tmp -Divy.home=/tmp -Dio.netty.tryReflectionSetAccessible=true" \ | ||
--conf "spark.sql.extensions=io.delta.sql.DeltaSparkSessionExtension" \ | ||
--conf "spark.sql.catalog.spark_catalog=org.apache.spark.sql.delta.catalog.DeltaCatalog" |