Skip to content

Commit

Permalink
Releasing 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Oct 26, 2022
1 parent e327e56 commit e1df153
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [2.3.0] - 2022-10-26

### Added

- Add diffWith to Scala, Java and Python Diff API. (#109)

### Changed

- Diff similar Datasets with ignoreColumns. Before, only similar DataFrame could be diffed with ignoreColumns. (#111)

### Fixed

- Cache before writing via partitionedBy to work around SPARK-40588. Unpersist via UnpersistHandle. (#124)

## [2.2.0] - 2022-07-21

### Added
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ has the following semantics: `spark-extension_{SCALA_COMPAT_VERSION}-{VERSION}-{
Add this line to your `build.sbt` file:

```sbt
libraryDependencies += "uk.co.gresearch.spark" %% "spark-extension" % "2.2.0-3.3"
libraryDependencies += "uk.co.gresearch.spark" %% "spark-extension" % "2.3.0-3.3"
```

### Maven
Expand All @@ -72,7 +72,7 @@ Add this dependency to your `pom.xml` file:
<dependency>
<groupId>uk.co.gresearch.spark</groupId>
<artifactId>spark-extension_2.12</artifactId>
<version>2.2.0-3.3</version>
<version>2.3.0-3.3</version>
</dependency>
```

Expand All @@ -81,7 +81,7 @@ Add this dependency to your `pom.xml` file:
Launch a Spark Shell with the Spark Extension dependency (version ≥1.1.0) as follows:

```shell script
spark-shell --packages uk.co.gresearch.spark:spark-extension_2.12:2.2.0-3.3
spark-shell --packages uk.co.gresearch.spark:spark-extension_2.12:2.3.0-3.3
```

Note: Pick the right Scala version (here 2.12) and Spark version (here 3.3) depending on your Spark Shell version.
Expand All @@ -97,7 +97,7 @@ from pyspark.sql import SparkSession

spark = SparkSession \
.builder \
.config("spark.jars.packages", "uk.co.gresearch.spark:spark-extension_2.12:2.2.0-3.1") \
.config("spark.jars.packages", "uk.co.gresearch.spark:spark-extension_2.12:2.3.0-3.1") \
.getOrCreate()
```

Expand All @@ -108,7 +108,7 @@ Note: Pick the right Scala version (here 2.12) and Spark version (here 3.3) depe
Launch the Python Spark REPL with the Spark Extension dependency (version ≥1.1.0) as follows:

```shell script
pyspark --packages uk.co.gresearch.spark:spark-extension_2.12:2.2.0-3.3
pyspark --packages uk.co.gresearch.spark:spark-extension_2.12:2.3.0-3.3
```

Note: Pick the right Scala version (here 2.12) and Spark version (here 3.3) depending on your PySpark version.
Expand All @@ -118,7 +118,7 @@ Note: Pick the right Scala version (here 2.12) and Spark version (here 3.3) depe
Run your Python scripts that use PySpark via `spark-submit`:

```shell script
spark-submit --packages uk.co.gresearch.spark:spark-extension_2.12:2.2.0-3.3 [script.py]
spark-submit --packages uk.co.gresearch.spark:spark-extension_2.12:2.3.0-3.3 [script.py]
```

Note: Pick the right Scala version (here 2.12) and Spark version (here 3.3) depending on your Spark version.
Expand All @@ -128,7 +128,7 @@ Note: Pick the right Scala version (here 2.12) and Spark version (here 3.3) depe
There are plenty of [Data Science notebooks](https://datasciencenotebook.org/) around. To use this library,
add **a jar dependency** to your notebook using these **Maven coordinates**:

uk.co.gresearch.spark:spark-extension_2.12:2.2.0-3.3
uk.co.gresearch.spark:spark-extension_2.12:2.3.0-3.3

Or [download the jar](https://mvnrepository.com/artifact/uk.co.gresearch.spark/spark-extension) and place it
on a filesystem where it is accessible by the notebook, and reference that jar file directly.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>uk.co.gresearch.spark</groupId>
<artifactId>spark-extension_2.13</artifactId>
<version>2.3.0-3.3-SNAPSHOT</version>
<version>2.3.0-3.3</version>
<name>Spark Extension</name>
<description>A library that provides useful extensions to Apache Spark.</description>
<inceptionYear>2020</inceptionYear>
Expand Down

0 comments on commit e1df153

Please sign in to comment.