Skip to content

Commit

Permalink
Release for Cosmos spark connector 4.5.2 (Azure#26332)
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianMeiswinkel authored Jan 7, 2022
1 parent 8b87962 commit 3a5e6ef
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 16 deletions.
2 changes: 1 addition & 1 deletion eng/jacoco-test-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.25.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.25.0-snapshot.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down
4 changes: 2 additions & 2 deletions eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ com.azure:azure-core-serializer-json-gson;1.1.10;1.2.0-beta.1
com.azure:azure-core-serializer-json-jackson;1.2.11;1.3.0-beta.1
com.azure:azure-core-test;1.7.6;1.8.0-beta.1
com.azure:azure-core-tracing-opentelemetry;1.0.0-beta.18;1.0.0-beta.19
com.azure:azure-cosmos;4.24.0;4.25.0-beta.1
com.azure:azure-cosmos;4.24.0;4.25.0-snapshot.1
com.azure:azure-cosmos-benchmark;4.0.1-beta.1;4.0.1-beta.1
com.azure:azure-cosmos-dotnet-benchmark;4.0.1-beta.1;4.0.1-beta.1
com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12;4.6.0-beta.1;4.6.0-beta.1
com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12;4.5.3;4.5.3
com.azure:azure-cosmos-encryption;1.0.0-beta.9;1.0.0-beta.10
com.azure:azure-data-appconfiguration;1.2.4;1.3.0-beta.1
com.azure:azure-data-appconfiguration-perf;1.0.0-beta.1;1.0.0-beta.1
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos-benchmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Licensed under the MIT License.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.25.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.25.0-snapshot.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos-dotnet-benchmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Licensed under the MIT License.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.25.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.25.0-snapshot.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos-encryption/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Licensed under the MIT License.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.25.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.25.0-snapshot.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>

<dependency>
Expand Down
7 changes: 6 additions & 1 deletion sdk/cosmos/azure-cosmos-spark_3-1_2-12/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Release History
### 4.6.0-beta.1 (Unreleased)
### 4.5.3 (2022-01-06)
#### Key Bug Fixes
* Fixed an issue in the Java SDK that would result in NullPointerException when trying to bulk-ingest data into deleted and recreated container. - See [PR 26205](https://github.com/Azure/azure-sdk-for-java/pull/26205)

#### New Features
* Added support for writing RDDs containing ShortType or ByteType columns into Cosmos DB. - See [PR 26137](https://github.com/Azure/azure-sdk-for-java/pull/26137).

### 4.5.2 (2021-12-17)
#### Key Bug Fixes
Expand Down
5 changes: 3 additions & 2 deletions sdk/cosmos/azure-cosmos-spark_3-1_2-12/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ https://github.com/Azure/azure-sdk-for-java/issues/new

| Connector | Supported Spark Versions | Minimum Java Version | Supported Scala Versions | Supported Databricks Runtimes |
| ------------- | ------------------------ | -------------------- | ----------------------- | ----------------------------- |
| 4.5.3 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.5.2 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.5.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.5.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
Expand All @@ -44,11 +45,11 @@ https://github.com/Azure/azure-sdk-for-java/issues/new
### Download

You can use the maven coordinate of the jar to auto install the Spark Connector to your Databricks Runtime 8 from Maven:
`com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12:4.5.2`
`com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12:4.5.3`

You can also integrate against Cosmos DB Spark Connector in your SBT project:
```scala
libraryDependencies += "com.azure.cosmos.spark" % "azure-cosmos-spark_3-1_2-12" % "4.5.2"
libraryDependencies += "com.azure.cosmos.spark" % "azure-cosmos-spark_3-1_2-12" % "4.5.3"
```

Cosmos DB Spark Connector is available on [Maven Central Repo](https://search.maven.org/search?q=g:com.azure.cosmos.spark).
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos-spark_3-1_2-12/docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ You can use any other Spark 3.1.1 spark offering as well, also you should be abl

SLF4J is only needed if you plan to use logging, please also download an SLF4J binding which will link the SLF4J API with the logging implementation of your choice. See the [SLF4J user manual](https://www.slf4j.org/manual.html) for more information.

Install Cosmos DB Spark Connector, in your spark Cluster [azure-cosmos-spark_3-1_2-12-4.5.2.jar](https://search.maven.org/artifact/com.azure.cosmos.spark/azure-cosmos-spark_3-1_2-12/4.5.2/jar)
Install Cosmos DB Spark Connector, in your spark Cluster [azure-cosmos-spark_3-1_2-12-4.5.3.jar](https://search.maven.org/artifact/com.azure.cosmos.spark/azure-cosmos-spark_3-1_2-12/4.5.2/jar)

The getting started guide is based on PySpark however you can use the equivalent scala version as well, and you can run the following code snippet in an Azure Databricks PySpark notebook.

Expand Down
4 changes: 2 additions & 2 deletions sdk/cosmos/azure-cosmos-spark_3-1_2-12/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>com.azure.cosmos.spark</groupId>
<artifactId>azure-cosmos-spark_3-1_2-12</artifactId>
<version>4.6.0-beta.1</version> <!-- {x-version-update;com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12;current} -->
<version>4.5.3</version> <!-- {x-version-update;com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12;current} -->
<packaging>jar</packaging>
<name>OLTP Spark Connector for Azure Cosmos DB SQL API</name>
<description>OLTP Spark Connector for Azure Cosmos DB SQL API</description>
Expand Down Expand Up @@ -65,7 +65,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.25.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.25.0-snapshot.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>
<dependency>
<groupId>org.scala-lang.modules</groupId>
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Release History

### 4.25.0-beta.1 (Unreleased)
### 4.25.0-snapshot.1 (Unreleased)

#### Features Added

Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Licensed under the MIT License.

<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.25.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.25.0-snapshot.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<name>Microsoft Azure SDK for SQL API of Azure Cosmos DB Service</name>
<description>This Package contains Microsoft Azure Cosmos SDK (with Reactive Extension Reactor support) for Azure Cosmos DB SQL API</description>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-spring-data-cosmos/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.25.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.25.0-snapshot.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.25.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.25.0-snapshot.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>
</dependencies>

Expand Down

0 comments on commit 3a5e6ef

Please sign in to comment.