Skip to content

Commit

Permalink
Update tispark-overview.md version matrix (#18251)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyuhang0 authored Jul 18, 2024
1 parent cc8c80b commit 1ff27f0
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions tispark-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,13 @@ You can choose TiSpark version according to your TiDB and Spark version.
| 2.5.x | 5.x, 4.x | 3.0.x, 3.1.x | 2.12 |
| 3.0.x | 5.x, 4.x | 3.0.x, 3.1.x, 3.2.x|2.12|
| 3.1.x | 6.x, 5.x, 4.x | 3.0.x, 3.1.x, 3.2.x, 3.3.x|2.12|
| 3.2.x | 6.x, 5.x, 4.x | 3.0.x, 3.1.x, 3.2.x, 3.3.x|2.12|

TiSpark 2.4.4, 2.5.2, 3.0.2 and 3.1.1 are the latest stable versions and are highly recommended.
TiSpark 2.4.4, 2.5.2, 3.0.2, 3.1.1, and 3.2.3 are the latest stable versions and are highly recommended.

> **Note:**
>
> TiSpark does not guarantee compatibility with TiDB v7.0.0 and later versions.
### Get TiSpark jar

Expand Down Expand Up @@ -130,11 +135,11 @@ mvn clean install -Dmaven.test.skip=true -Pspark3.2.1

The Artifact ID of TiSpark varies with TiSpark versions.

| TiSpark version | Artifact ID |
|-------------------------------| -------------------------------------------------- |
| TiSpark version | Artifact ID |
|--------------------------------| -------------------------------------------------- |
| 2.4.x-\${scala_version}, 2.5.0 | tispark-assembly |
| 2.5.1 | tispark-assembly-\${spark_version} |
| 3.0.x, 3.1.x | tispark-assembly-\${spark_version}-\${scala_version} |
| 2.5.1 | tispark-assembly-\${spark_version} |
| 3.0.x, 3.1.x, 3.2.x | tispark-assembly-\${spark_version}-\${scala_version} |

## Getting started

Expand Down Expand Up @@ -201,7 +206,7 @@ customerDF.write

See [Data Source API User Guide](https://github.com/pingcap/tispark/blob/master/docs/features/datasource_api_userguide.md) for more details.

You can also write with Spark SQL since TiSpark 3.1. See [insert SQL](https://github.com/pingcap/tispark/blob/master/docs/features/insert_sql_userguide.md) for more details.
Starting from TiSpark 3.1, you can write data to TiKV using Spark SQL. For more information, see [insert SQL](https://github.com/pingcap/tispark/blob/master/docs/features/insert_sql_userguide.md).

### Write data using JDBC DataSource

Expand Down

0 comments on commit 1ff27f0

Please sign in to comment.