Skip to content

Commit

Permalink
Releasing 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed May 3, 2023
1 parent 4c36605 commit 231bbdc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +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/).

## [UNRELEASED] - YYYY-MM-DD
## [0.10.0] - 2023-05-03

### Changed
- Estimator "maxLeaseId" renamed to "maxUid", as used with option `dgraph.partitioner.uidRange.estimator`
- Estimator "maxLeaseId" renamed to "maxUid", as used with option `dgraph.partitioner.uidRange.estimator` ([pull #221](https://github.com/G-Research/spark-dgraph-connector/pull/221)).
- Upgraded gson and requests dependencies ([pull #225](https://github.com/G-Research/spark-dgraph-connector/pull/225)).

### Fixed
- Work with maxUid values that cannot be parsed ([pull #216](https://github.com/G-Research/spark-dgraph-connector/pull/216)).
Expand All @@ -25,15 +26,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Moved Java Dgraph client to 21.12.0.

### Fixed
- Support latest dgraph release 21.12.0 (#147)
- Support latest dgraph release 21.12.0 ([pull #147](https://github.com/G-Research/spark-dgraph-connector/pull/147))

## [0.7.0] - 2021-10-01

### Changed
- Moved Java Dgraph client to 21.03.1.

### Fixed
- Support latest dgraph release 21.03.0 (#101)
- Support latest dgraph release 21.03.0 ([pull #101](https://github.com/G-Research/spark-dgraph-connector/pull/101))

## [0.6.0] - 2021-03-05

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

The Spark Dgraph Connector is available for Spark 3.0, 3.1, 3.2, 3.3 and 3.4, 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.9.0-3.0, 0.9.0-3.1, 0.9.0-3.2, 0.9.0-3.3 and 0.9.0-3.4, respectively.
i.e. 0.10.0-3.0, 0.10.0-3.1, 0.10.0-3.2, 0.10.0-3.3 and 0.10.0-3.4, respectively.

### SBT

Add this line to your `build.sbt` file to use the latest version for Spark 3.4:

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

### Maven
Expand All @@ -99,7 +99,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.9.0-3.4</version>
<version>0.10.0-3.4</version>
</dependency>
```

Expand All @@ -108,21 +108,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.9.0-3.4
spark-shell --packages uk.co.gresearch.spark:spark-dgraph-connector_2.12:0.10.0-3.4
```

### 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.9.0-3.4
pyspark --packages uk.co.gresearch.spark:spark-dgraph-connector_2.12:0.10.0-3.4
```

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.9.0-3.4 [script.py]
spark-submit --packages uk.co.gresearch.spark:spark-dgraph-connector_2.12:0.10.0-3.4 [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 @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>uk.co.gresearch.spark</groupId>
<artifactId>spark-dgraph-connector-examples_2.12</artifactId>
<version>0.10.0-3.4-SNAPSHOT</version>
<version>0.10.0-3.4</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.10.0-3.4-SNAPSHOT</version>
<version>0.10.0-3.4</version>
<name>Spark Dgraph Connector</name>
<description>A Spark connector for Dgraph databases</description>
<inceptionYear>2020</inceptionYear>
Expand Down

0 comments on commit 231bbdc

Please sign in to comment.