Skip to content

Commit

Permalink
Releasing 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Jul 14, 2022
1 parent d2bb2fb commit 5372952
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ 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/).

## [0.9.0] - 2022-07-14

### Changed
- Moved to shaded Java Dgraph client (uk.co.gresearch.dgraph:dgraph4j-shaded:21.12.0-0).

## [0.8.0] - 2022-01-19

### Changed
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ The connector has the following known limitations:

The Spark Dgraph Connector is available for Spark 3.0, Spark 3.1, Spark 3.2 and Spark 3.3, all with Scala 2.12.
Use Maven artifact ID `spark-dgraph-connector_2.12`. The Spark version is part of the package version,
i.e. 0.8.0-3.0, 0.8.0-3.1, 0.8.0-3.2 and 0.8.0-3.3, respectively.
i.e. 0.9.0-3.0, 0.9.0-3.1, 0.9.0-3.2 and 0.9.0-3.3, respectively.
Minor versions are kept in sync between those packages,
such that identical minor versions contain identical feature sets
(where supported by the respective Spark version).
Expand All @@ -91,7 +91,7 @@ such that identical minor versions contain identical feature sets
Add this line to your `build.sbt` file to use the latest version for Spark 3.2:

```sbt
libraryDependencies += "uk.co.gresearch.spark" %% "spark-dgraph-connector" % "0.8.0-3.2"
libraryDependencies += "uk.co.gresearch.spark" %% "spark-dgraph-connector" % "0.9.0-3.2"
```

### Maven
Expand All @@ -102,7 +102,7 @@ Add this dependency to your `pom.xml` file to use the latest version:
<dependency>
<groupId>uk.co.gresearch.spark</groupId>
<artifactId>spark-dgraph-connector_2.12</artifactId>
<version>0.8.0-3.2</version>
<version>0.9.0-3.2</version>
</dependency>
```

Expand All @@ -111,21 +111,21 @@ Add this dependency to your `pom.xml` file to use the latest version:
Launch the Scala Spark REPL (Spark ≥3.0.0) with the Spark Dgraph Connector dependency (version ≥0.5.0) as follows:

```shell script
spark-shell --packages uk.co.gresearch.spark:spark-dgraph-connector_2.12:0.8.0-3.2
spark-shell --packages uk.co.gresearch.spark:spark-dgraph-connector_2.12:0.9.0-3.2
```

### PySpark Shell and Python script

Launch the Python Spark REPL (pyspark ≥3.0.0) with the Spark Dgraph Connector dependency (version ≥0.5.0) as follows:

```shell script
pyspark --packages uk.co.gresearch.spark:spark-dgraph-connector_2.12:0.8.0-3.2
pyspark --packages uk.co.gresearch.spark:spark-dgraph-connector_2.12:0.9.0-3.2
```

Run your Python scripts that use PySpark (pyspark ≥3.0.0) and the Spark Dgraph Connector (version ≥0.5.0) via `spark-submit`:

```shell script
spark-submit --packages uk.co.gresearch.spark:spark-dgraph-connector_2.12:0.8.0-3.2 [script.py]
spark-submit --packages uk.co.gresearch.spark:spark-dgraph-connector_2.12:0.9.0-3.2 [script.py]
```

## Examples
Expand Down
2 changes: 1 addition & 1 deletion examples/scala/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>uk.co.gresearch.spark</groupId>
<artifactId>spark-dgraph-connector-examples_2.12</artifactId>
<version>0.9.0-3.2-SNAPSHOT</version>
<version>0.9.0-3.2</version>
<name>Spark Dgraph Connector Example</name>

<properties>
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-dgraph-connector_2.12</artifactId>
<version>0.9.0-3.2-SNAPSHOT</version>
<version>0.9.0-3.2</version>
<name>Spark Dgraph Connector</name>
<description>A Spark connector for Dgraph databases</description>
<inceptionYear>2020</inceptionYear>
Expand Down

0 comments on commit 5372952

Please sign in to comment.