Skip to content

Commit 38515f2

Browse files
Preparing cosmos spark hotfix release 4.11.1 (Azure#29341)
* Fixed bug preventing usage of feedRangeFilter with change feed * Fixed FeedRange split when FeedRange is smaller than requested split count * Updated changelog * Preparing Cosmos-Spark hotfix release 4.11.1 * Updating latest version in MD files * Adding H1 to readme.md
1 parent bd4952e commit 38515f2

File tree

8 files changed

+23
-26
lines changed

8 files changed

+23
-26
lines changed

eng/versioning/version_client.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ com.azure:azure-cosmos;4.31.0;4.32.0-beta.1
8686
com.azure:azure-cosmos-benchmark;4.0.1-beta.1;4.0.1-beta.1
8787
com.azure:azure-cosmos-dotnet-benchmark;4.0.1-beta.1;4.0.1-beta.1
8888
com.azure.cosmos.spark:azure-cosmos-spark_3_2-12;1.0.0-beta.1;1.0.0-beta.1
89-
com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12;4.11.0;4.12.0-beta.1
90-
com.azure.cosmos.spark:azure-cosmos-spark_3-2_2-12;4.11.0;4.12.0-beta.1
89+
com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12;4.11.0;4.11.1
90+
com.azure.cosmos.spark:azure-cosmos-spark_3-2_2-12;4.11.0;4.11.1
9191
com.azure:azure-cosmos-encryption;1.3.0;1.4.0-beta.1
9292
com.azure:azure-data-appconfiguration;1.3.3;1.3.4
9393
com.azure:azure-data-appconfiguration-perf;1.0.0-beta.1;1.0.0-beta.1

sdk/cosmos/azure-cosmos-spark_3-1_2-12/CHANGELOG.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
## Release History
22

3-
### 4.12.0-beta.1 (Unreleased)
4-
5-
#### Features Added
6-
7-
#### Breaking Changes
3+
### 4.11.1 (2022-06-09)
84

95
#### Bugs Fixed
10-
11-
#### Other Changes
6+
* Fixes bug preventing usage of feedRangeFilter with change feed. - See [PR 29338](https://github.com/Azure/azure-sdk-for-java/pull/29338)
127

138
### 4.11.0 (2022-06-08)
149
#### Other Changes

sdk/cosmos/azure-cosmos-spark_3-1_2-12/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
## Azure Cosmos DB OLTP Spark 3 connector
1+
# Azure Cosmos DB OLTP Spark 3 connector
2+
3+
## Azure Cosmos DB OLTP Spark 3 connector for Spark 3.2
24

35
**Azure Cosmos DB OLTP Spark connector** provides Apache Spark support for Azure Cosmos DB using
46
the [SQL API][sql_api_query].
@@ -27,6 +29,7 @@ https://github.com/Azure/azure-sdk-for-java/issues/new
2729
#### azure-cosmos-spark_3-1_2-12
2830
| Connector | Supported Spark Versions | Minimum Java Version | Supported Scala Versions | Supported Databricks Runtimes |
2931
| ------------- | ------------------------ | -------------------- | ----------------------- | ----------------------------- |
32+
| 4.11.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
3033
| 4.11.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
3134
| 4.10.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
3235
| 4.10.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
@@ -55,6 +58,7 @@ https://github.com/Azure/azure-sdk-for-java/issues/new
5558
#### azure-cosmos-spark_3-2_2-12
5659
| Connector | Supported Spark Versions | Minimum Java Version | Supported Scala Versions | Supported Databricks Runtimes |
5760
| ------------- | ------------------------ | -------------------- | ----------------------- | ----------------------------- |
61+
| 4.11.1 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
5862
| 4.11.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
5963
| 4.10.1 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
6064
| 4.10.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
@@ -68,11 +72,11 @@ https://github.com/Azure/azure-sdk-for-java/issues/new
6872
### Download
6973

7074
You can use the maven coordinate of the jar to auto install the Spark Connector to your Databricks Runtime 8 from Maven:
71-
`com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12:4.10.0`
75+
`com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12:4.11.1`
7276

7377
You can also integrate against Cosmos DB Spark Connector in your SBT project:
7478
```scala
75-
libraryDependencies += "com.azure.cosmos.spark" % "azure-cosmos-spark_3-1_2-12" % "4.10.0"
79+
libraryDependencies += "com.azure.cosmos.spark" % "azure-cosmos-spark_3-1_2-12" % "4.11.1"
7680
```
7781

7882
Cosmos DB Spark Connector is available on [Maven Central Repo](https://search.maven.org/search?q=g:com.azure.cosmos.spark).

sdk/cosmos/azure-cosmos-spark_3-1_2-12/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</parent>
1212
<groupId>com.azure.cosmos.spark</groupId>
1313
<artifactId>azure-cosmos-spark_3-1_2-12</artifactId>
14-
<version>4.12.0-beta.1</version> <!-- {x-version-update;com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12;current} -->
14+
<version>4.11.1</version> <!-- {x-version-update;com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12;current} -->
1515
<packaging>jar</packaging>
1616
<url>https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/cosmos/azure-cosmos-spark_3-1_2-12</url>
1717
<name>OLTP Spark 3.1 Connector for Azure Cosmos DB SQL API</name>

sdk/cosmos/azure-cosmos-spark_3-2_2-12/CHANGELOG.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
## Release History
22

3-
### 4.12.0-beta.1 (Unreleased)
4-
5-
#### Features Added
6-
7-
#### Breaking Changes
3+
### 4.11.1 (2022-06-09)
84

95
#### Bugs Fixed
10-
11-
#### Other Changes
6+
* Fixes bug preventing usage of feedRangeFilter with change feed. - See [PR 29338](https://github.com/Azure/azure-sdk-for-java/pull/29338)
127

138
### 4.11.0 (2022-06-08)
149
#### Other Changes

sdk/cosmos/azure-cosmos-spark_3-2_2-12/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
## Azure Cosmos DB OLTP Spark 3 connector
1+
# Azure Cosmos DB OLTP Spark 3 connector
22

3+
## Azure Cosmos DB OLTP Spark 3 connector for Spark 3.2
34
**Azure Cosmos DB OLTP Spark connector** provides Apache Spark support for Azure Cosmos DB using
45
the [SQL API][sql_api_query].
56
[Azure Cosmos DB][cosmos_introduction] is a globally-distributed database service which allows
@@ -27,6 +28,7 @@ https://github.com/Azure/azure-sdk-for-java/issues/new
2728
#### azure-cosmos-spark_3-2_2-12
2829
| Connector | Supported Spark Versions | Minimum Java Version | Supported Scala Versions | Supported Databricks Runtimes |
2930
| ------------- | ------------------------ | -------------------- | ----------------------- | ----------------------------- |
31+
| 4.11.1 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
3032
| 4.11.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
3133
| 4.10.1 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
3234
| 4.10.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
@@ -40,6 +42,7 @@ https://github.com/Azure/azure-sdk-for-java/issues/new
4042
#### azure-cosmos-spark_3-1_2-12
4143
| Connector | Supported Spark Versions | Minimum Java Version | Supported Scala Versions | Supported Databricks Runtimes |
4244
| ------------- | ------------------------ | -------------------- | ----------------------- | ----------------------------- |
45+
| 4.11.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
4346
| 4.11.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
4447
| 4.10.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
4548
| 4.10.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
@@ -68,11 +71,11 @@ https://github.com/Azure/azure-sdk-for-java/issues/new
6871
### Download
6972

7073
You can use the maven coordinate of the jar to auto install the Spark Connector to your Databricks Runtime 8 from Maven:
71-
`com.azure.cosmos.spark:azure-cosmos-spark_3-2_2-12:4.11.0`
74+
`com.azure.cosmos.spark:azure-cosmos-spark_3-2_2-12:4.11.1`
7275

7376
You can also integrate against Cosmos DB Spark Connector in your SBT project:
7477
```scala
75-
libraryDependencies += "com.azure.cosmos.spark" % "azure-cosmos-spark_3-2_2-12" % "4.11.0"
78+
libraryDependencies += "com.azure.cosmos.spark" % "azure-cosmos-spark_3-2_2-12" % "4.11.1"
7679
```
7780

7881
Cosmos DB Spark Connector is available on [Maven Central Repo](https://search.maven.org/search?q=g:com.azure.cosmos.spark).

sdk/cosmos/azure-cosmos-spark_3-2_2-12/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</parent>
1212
<groupId>com.azure.cosmos.spark</groupId>
1313
<artifactId>azure-cosmos-spark_3-2_2-12</artifactId>
14-
<version>4.12.0-beta.1</version> <!-- {x-version-update;com.azure.cosmos.spark:azure-cosmos-spark_3-2_2-12;current} -->
14+
<version>4.11.1</version> <!-- {x-version-update;com.azure.cosmos.spark:azure-cosmos-spark_3-2_2-12;current} -->
1515
<packaging>jar</packaging>
1616
<url>https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/cosmos/azure-cosmos-spark_3-2_2-12</url>
1717
<name>OLTP Spark 3.2 Connector for Azure Cosmos DB SQL API</name>

sdk/cosmos/azure-cosmos-spark_3_2-12/docs/quick-start.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ You can use any other Spark 3.1.1 spark offering as well, also you should be abl
2323
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.
2424

2525
For Spark 3.1:
26-
- Install Cosmos DB Spark Connector, in your spark Cluster [com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12:4.11.0](https://search.maven.org/artifact/com.azure.cosmos.spark/azure-cosmos-spark_3-1_2-12/4.11.0/jar)
26+
- Install Cosmos DB Spark Connector, in your spark Cluster [com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12:4.11.1](https://search.maven.org/artifact/com.azure.cosmos.spark/azure-cosmos-spark_3-1_2-12/4.11.1/jar)
2727

2828
For Spark 3.2:
29-
- Install Cosmos DB Spark Connector, in your spark Cluster [com.azure.cosmos.spark:azure-cosmos-spark_3-2_2-12:4.11.0](https://search.maven.org/artifact/com.azure.cosmos.spark/azure-cosmos-spark_3-2_2-12/4.11.0/jar)
29+
- Install Cosmos DB Spark Connector, in your spark Cluster [com.azure.cosmos.spark:azure-cosmos-spark_3-2_2-12:4.11.1](https://search.maven.org/artifact/com.azure.cosmos.spark/azure-cosmos-spark_3-2_2-12/4.11.1/jar)
3030

3131

3232
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.

0 commit comments

Comments
 (0)