Skip to content

Commit 047551b

Browse files
committed
updating docs with 3.3.1 and 1.2.2
1 parent 406ff8d commit 047551b

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Kotlin Stable](https://kotl.in/badges/stable.svg)](https://kotlinlang.org/docs/components-stability.html)
44
[![JetBrains official project](http://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
5-
[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx.spark/kotlin-spark-api_3.3.0_2.13.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:"org.jetbrains.kotlinx.spark"%20AND%20a:"kotlin-spark-api_3.3.0_2.13")
5+
[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx.spark/kotlin-spark-api_3.3.1_2.13.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:"org.jetbrains.kotlinx.spark"%20AND%20a:"kotlin-spark-api_3.3.1_2.13")
66
[![Join the chat at https://gitter.im/JetBrains/kotlin-spark-api](https://badges.gitter.im/JetBrains/kotlin-spark-api.svg)](https://gitter.im/JetBrains/kotlin-spark-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
77

88
Your next API to work with [Apache Spark](https://spark.apache.org/).
@@ -38,8 +38,14 @@ We have opened a Spark Project Improvement Proposal: [Kotlin support for Apache
3838

3939
| Apache Spark | Scala | Kotlin for Apache Spark |
4040
|:------------:|:-----:|:-----------------------------------:|
41+
| 3.3.1 | 2.13 | kotlin-spark-api_3.3.1_2.13:VERSION |
42+
| | 2.12 | kotlin-spark-api_3.3.1_2.12:VERSION |
4143
| 3.3.0 | 2.13 | kotlin-spark-api_3.3.0_2.13:VERSION |
4244
| | 2.12 | kotlin-spark-api_3.3.0_2.12:VERSION |
45+
| 3.2.3 | 2.13 | kotlin-spark-api_3.2.3_2.13:VERSION |
46+
| | 2.12 | kotlin-spark-api_3.2.3_2.12:VERSION |
47+
| 3.2.2 | 2.13 | kotlin-spark-api_3.2.2_2.13:VERSION |
48+
| | 2.12 | kotlin-spark-api_3.2.2_2.12:VERSION |
4349
| 3.2.1 | 2.13 | kotlin-spark-api_3.2.1_2.13:VERSION |
4450
| | 2.12 | kotlin-spark-api_3.2.1_2.12:VERSION |
4551
| 3.2.0 | 2.13 | kotlin-spark-api_3.2.0_2.13:VERSION |
@@ -67,7 +73,7 @@ The Kotlin for Spark artifacts adhere to the following convention:
6773
The only exception to this is `scala-tuples-in-kotlin_[Scala core version]:[Kotlin for Apache Spark API version]`, which is
6874
independent of Spark.
6975

70-
[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx.spark/kotlin-spark-api_3.3.0_2.13.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:"org.jetbrains.kotlinx.spark"%20AND%20a:"kotlin-spark-api_3.3.0_2.13")
76+
[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx.spark/kotlin-spark-api_3.3.1_2.13.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:"org.jetbrains.kotlinx.spark"%20AND%20a:"kotlin-spark-api_3.3.1_2.13")
7177

7278
## How to configure Kotlin for Apache Spark in your project
7379

@@ -78,7 +84,7 @@ Here's an example `pom.xml`:
7884
```xml
7985
<dependency>
8086
<groupId>org.jetbrains.kotlinx.spark</groupId>
81-
<artifactId>kotlin-spark-api_3.3.0_2.13</artifactId>
87+
<artifactId>kotlin-spark-api_3.3.1_2.13</artifactId>
8288
<version>${kotlin-spark-api.version}</version>
8389
</dependency>
8490
<dependency>
@@ -111,7 +117,7 @@ To it, simply add
111117
to the top of your notebook. This will get the latest version of the API, together with the latest version of Spark.
112118
To define a certain version of Spark or the API itself, simply add it like this:
113119
```jupyterpython
114-
%use spark(spark=3.3.0, scala=2.13, v=1.2.0)
120+
%use spark(spark=3.3.1, scala=2.13, v=1.2.2)
115121
```
116122

117123
Inside the notebook a Spark session will be initiated automatically. This can be accessed via the `spark` value.

docs/quick-start-guide.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ Here's what the `pom.xml` looks like for this example:
7272
</dependency>
7373
<dependency> <!-- Kotlin Spark API dependency -->
7474
<groupId>org.jetbrains.kotlinx.spark</groupId>
75-
<artifactId>kotlin-spark-api-3.0.0_2.12</artifactId>
76-
<version>1.0.1</version>
75+
<artifactId>kotlin-spark-api_3.3.1_2.13</artifactId>
76+
<version>1.2.2</version>
7777
</dependency>
7878
<dependency> <!-- Spark dependency -->
7979
<groupId>org.apache.spark</groupId>
8080
<artifactId>spark-sql_2.12</artifactId>
81-
<version>3.0.0</version>
81+
<version>3.3.1</version>
8282
</dependency>
8383
</dependencies>
8484

@@ -163,8 +163,8 @@ dependencies {
163163
// Kotlin stdlib
164164
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.4.0'
165165
// Kotlin Spark API
166-
implementation 'org.jetbrains.kotlinx.spark:kotlin-spark-api-3.0.0_2.12:1.0.1' // Apache Spark
167-
compileOnly 'org.apache.spark:spark-sql_2.12:3.0.0'
166+
implementation 'org.jetbrains.kotlinx.spark:kotlin-spark-api_3.3.1_2.13:1.2.2' // Apache Spark
167+
compileOnly 'org.apache.spark:spark-sql_2.12:3.3.1'
168168
}
169169
170170
compileKotlin {
@@ -198,9 +198,9 @@ dependencies {
198198
// Kotlin stdlib
199199
implementation ("org.jetbrains.kotlin:kotlin-stdlib:1.4.0")
200200
// Kotlin Spark API
201-
implementation ("org.jetbrains.kotlinx.spark:kotlin-spark-api-3.0.0_2.12:1.0.1")
201+
implementation ("org.jetbrains.kotlinx.spark:kotlin-spark-api_3.3.1_2.13:1.2.2")
202202
// Apache Spark
203-
compileOnly ("org.apache.spark:spark-sql_2.12:3.0.0")
203+
compileOnly ("org.apache.spark:spark-sql_2.12:3.3.1")
204204
}
205205
206206
compileKotlin.kotlinOptions.jvmTarget = "1.8"

0 commit comments

Comments
 (0)