Skip to content

Commit 615415f

Browse files
committed
version bump to 0.6.1
1 parent 7bd655d commit 615415f

File tree

5 files changed

+36
-10
lines changed

5 files changed

+36
-10
lines changed

README.md

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,17 @@ See [Our Features](https://dataflint.gitbook.io/dataflint-for-spark/overview/our
5757
### Scala
5858

5959
Install DataFlint via sbt:
60+
For Spark 3.X:
6061
```sbt
61-
libraryDependencies += "io.dataflint" %% "spark" % "0.6.0"
62+
libraryDependencies += "io.dataflint" %% "spark" % "0.6.1"
6263
```
6364

65+
For Spark 4.X:
66+
```sbt
67+
libraryDependencies += "io.dataflint" %% "dataflint-spark4" % "0.6.1"
68+
```
69+
70+
6471
Then instruct spark to load the DataFlint plugin:
6572
```scala
6673
val spark = SparkSession
@@ -73,10 +80,20 @@ val spark = SparkSession
7380
### PySpark
7481
Add these 2 configs to your pyspark session builder:
7582

83+
For Spark 3.X:
7684
```python
7785
builder = pyspark.sql.SparkSession.builder
7886
...
79-
.config("spark.jars.packages", "io.dataflint:spark_2.12:0.6.0") \
87+
.config("spark.jars.packages", "io.dataflint:spark_2.12:0.6.1") \
88+
.config("spark.plugins", "io.dataflint.spark.SparkDataflintPlugin") \
89+
...
90+
```
91+
92+
For Spark 4.X:
93+
```python
94+
builder = pyspark.sql.SparkSession.builder
95+
...
96+
.config("spark.jars.packages", "io.dataflint:dataflint-spark4_2.13:0.6.1") \
8097
.config("spark.plugins", "io.dataflint.spark.SparkDataflintPlugin") \
8198
...
8299
```
@@ -85,16 +102,25 @@ builder = pyspark.sql.SparkSession.builder
85102

86103
Alternatively, install DataFlint with **no code change** as a spark ivy package by adding these 2 lines to your spark-submit command:
87104

105+
For spark 3.X:
106+
```bash
107+
spark-submit
108+
--packages io.dataflint:spark_2.12:0.6.1 \
109+
--conf spark.plugins=io.dataflint.spark.SparkDataflintPlugin \
110+
...
111+
```
112+
113+
For Spark 4.X:
88114
```bash
89115
spark-submit
90-
--packages io.dataflint:spark_2.12:0.6.0 \
116+
--packages io.dataflint:dataflint-spark4_2.13:0.6.1 \
91117
--conf spark.plugins=io.dataflint.spark.SparkDataflintPlugin \
92118
...
93119
```
94120

95121
### Additional installation options
96122

97-
* There is also support for scala 2.13, if your spark cluster is using scala 2.13 change package name to io.dataflint:spark_**2.13**:0.6.0
123+
* There is also support for scala 2.13, if your spark cluster is using scala 2.13 change package name to io.dataflint:spark_**2.13**:0.6.1
98124
* For more installation options, including for **python** and **k8s spark-operator**, see [Install on Spark docs](https://dataflint.gitbook.io/dataflint-for-spark/getting-started/install-on-spark)
99125
* For installing DataFlint in **spark history server** for observability on completed runs see [install on spark history server docs](https://dataflint.gitbook.io/dataflint-for-spark/getting-started/install-on-spark-history-server)
100126
* For installing DataFlint on **DataBricks** see [install on databricks docs](https://dataflint.gitbook.io/dataflint-for-spark/getting-started/install-on-databricks)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spark-plugin/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import xerial.sbt.Sonatype._
22
import sbtassembly.AssemblyPlugin.autoImport._
33

4-
lazy val versionNum: String = "0.6.0"
4+
lazy val versionNum: String = "0.6.1"
55
lazy val scala212 = "2.12.20"
66
lazy val scala213 = "2.13.16"
77
lazy val supportedScalaVersions = List(scala212, scala213)

spark-plugin/clean-and-setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ echo "1. Refresh your IntelliJ IDEA project (File -> Reload Gradle Project or si
3838
echo "2. If you still get conflicts, try: File -> Invalidate Caches and Restart"
3939
echo ""
4040
echo "📦 Fat JARs created:"
41-
echo "- Spark 3.x: pluginspark3/target/scala-2.12/dataflint-spark3_2.12-0.6.0-SNAPSHOT.jar"
42-
echo "- Spark 4.x: pluginspark4/target/scala-2.13/dataflint-spark4_2.13-0.6.0-SNAPSHOT.jar"
41+
echo "- Spark 3.x: pluginspark3/target/scala-2.12/dataflint-spark3_2.12-0.6.1-SNAPSHOT.jar"
42+
echo "- Spark 4.x: pluginspark4/target/scala-2.13/dataflint-spark4_2.13-0.6.1-SNAPSHOT.jar"
4343

spark-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dataflint-ui",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"homepage": "./",
55
"private": true,
66
"dependencies": {

0 commit comments

Comments
 (0)