Skip to content

Commit

Permalink
Releasing 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Jan 9, 2024
1 parent eeb3629 commit d7efaad
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.11.0] - 2024-01-09

### Added
- Detect and partition sparse region of UIDs ([pull #224](https://github.com/G-Research/spark-dgraph-connector/pull/224))

## [0.10.0] - 2023-05-03

### Changed
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, 3.4 and 3.5, with Scala 2.12 and 2.13.
Use Maven artifact ID `spark-dgraph-connector_2.12` or `spark-dgraph-connector_2.12`. The Spark version is part of the package version,
i.e. 0.10.0-3.0, 0.10.0-3.1, 0.10.0-3.2, 0.10.0-3.3, 0.10.0-3.4 and 0.10.0-3.5, respectively.
i.e. 0.11.0-3.0, 0.11.0-3.1, 0.11.0-3.2, 0.11.0-3.3, 0.11.0-3.4 and 0.11.0-3.5, respectively.

### SBT

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

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

### 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.13</artifactId>
<version>0.10.0-3.5</version>
<version>0.11.0-3.5</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.10.0-3.5
spark-shell --packages uk.co.gresearch.spark:spark-dgraph-connector_2.12:0.11.0-3.5
```

### 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.10.0-3.5
pyspark --packages uk.co.gresearch.spark:spark-dgraph-connector_2.12:0.11.0-3.5
```

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.10.0-3.5 [script.py]
spark-submit --packages uk.co.gresearch.spark:spark-dgraph-connector_2.12:0.11.0-3.5 [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.11.0-3.5-SNAPSHOT</version>
<version>0.11.0-3.5</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.11.0-3.5-SNAPSHOT</version>
<version>0.11.0-3.5</version>
<name>Spark Dgraph Connector</name>
<description>A Spark connector for Dgraph databases</description>
<inceptionYear>2020</inceptionYear>
Expand Down

0 comments on commit d7efaad

Please sign in to comment.