Skip to content

Commit

Permalink
v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
erikerlandson committed Oct 6, 2022
1 parent c3c44ba commit 11e5099
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ https://isarn.github.io/isarn-sketches-spark/latest/api/#org.isarnproject.sketch

``` scala
// Note that the version of spark is part of the release name.
// This example is for spark 3.0:
libraryDependencies += "org.isarnproject" %% "isarn-sketches-spark" % "0.5.2-sp3.0"
// This example is for spark 3.2:
libraryDependencies += "org.isarnproject" %% "isarn-sketches-spark" % "0.6.0-sp3.2"

// This package builds against some `% Provided` Apache Spark dependencies:
libraryDependencies += "org.apache.spark" %% "spark-core" % sparkVersion
Expand All @@ -29,15 +29,16 @@ Some context on these changes is available in this Spark Summmit

Versions of Spark and Scala that are currently supported:

- spark 3.0, scala 2.12
- v0.6.0: spark 3.2, scala 2.12
- v0.5.2: spark 3.0, scala 2.12

If you are interested in a spark/scala build that is not listed above, please contact me and/or file an issue!

## How to use from the Spark CLI
Several Spark CLI tools accept the `--packages` argument, including spark-shell and pyspark.
Following is an example using `spark-shell`:
```bash
$ spark-shell --packages "org.isarnproject:isarn-sketches-spark_2.12:0.5.2-sp3.0"
$ spark-shell --packages "org.isarnproject:isarn-sketches-spark_2.12:0.6.0-sp3.2"
```
Note that you need to explicitly include the scala version as part of the package name.

Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ name := "isarn-sketches-spark"

organization := "org.isarnproject"

val packageVersion = "0.5.3-SNAPSHOT"
val packageVersion = "0.6.0"

val sparkVersion = "3.0.1"
val sparkVersion = "3.2.0"

val sparkSuffix = s"""sp${sparkVersion.split('.').take(2).mkString(".")}"""

Expand Down

0 comments on commit 11e5099

Please sign in to comment.