From 166cb7d60f421939c646107dbf3ca45ad769eddf Mon Sep 17 00:00:00 2001
From: tomato <38561029+qidi1@users.noreply.github.com>
Date: Tue, 13 Sep 2022 15:44:59 +0800
Subject: [PATCH] Release 3.1 (#2539)
---
CHANGELOG.md | 55 +++++++++++++++++++++++++++++++++
assembly/pom.xml | 2 +-
core-test/pom.xml | 2 +-
core/pom.xml | 2 +-
db-random-test/pom.xml | 2 +-
pom.xml | 6 ++--
spark-wrapper/spark-3.0/pom.xml | 2 +-
spark-wrapper/spark-3.1/pom.xml | 2 +-
spark-wrapper/spark-3.2/pom.xml | 2 +-
spark-wrapper/spark-3.3/pom.xml | 2 +-
tikv-client/pom.xml | 2 +-
11 files changed, 67 insertions(+), 12 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 69c88ad77a..d2ff168c7e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,46 @@
# TiSpark Changelog
All notable changes to this project will be documented in this file.
+## [TiSpark 3.1.0] 2022-09-08
+### Compatibility Changes
+- We will not provide the mysql-connector-java dependency because of the limit of the GPL license [#2457](https://github.com/pingcap/tispark/pull/2457)
+
+### New Features
+- Add authorization check for datasource api [#2366](https://github.com/pingcap/tispark/pull/2366)
+- Make TiSpark's Explain clearer and easier to read [#2439](https://github.com/pingcap/tispark/pull/2439)
+- Support host mapping in TiSpark [#2436](https://github.com/pingcap/tispark/pull/2436)
+- Support bypass-TiDB write into partition table [#2451](https://github.com/pingcap/tispark/pull/2451)
+- Support insert sql [#2471](https://github.com/pingcap/tispark/pull/2471)
+- Support Spark 3.3 [#2492](https://github.com/pingcap/tispark/pull/2492)
+- Only do auth check for tables in TiDB [#2489](https://github.com/pingcap/tispark/pull/2489)
+
+### Fixes
+- Fix when TiDB has more than 10,000 tables in one Database, TiSpark may throw table not found exceptions [#2433](https://github.com/pingcap/tispark/pull/2433)
+- Fix the bug that count/avg can not push down [#2445](https://github.com/pingcap/tispark/pull/2445)
+- Fix the bug that when the primary key is not integer type, the two rows with null unique index will conflict. And the bug that when the unique index conflicts, the conflicting unique index column cannot be deleted correctly [#2455](https://github.com/pingcap/tispark/pull/2455)
+- Fix the bug that exception would through when the size of pdAddresse is > 1 [#2473](https://github.com/pingcap/tispark/pull/2473)
+- Fix the bug that Count(bit) should not be pushed down before TiKV 6.0.0 [#2476](https://github.com/pingcap/tispark/pull/2476)
+- Upgraded Spark 3.1 support version from 3.0.2 to 3.0.3, upgraded Spark 3.1 support version from 3.1.1 to 3.1.3, upgraded Spark 3.2 support version from 3.2.1 to 3.2.2 [#2486](https://github.com/pingcap/tispark/pull/2486)
+- Fix the bug that exception will be throw when date col is not the first col ref [#2538](https://github.com/pingcap/tispark/pull/2538)
+
+### DOC
+- TiSpark Development Guide [#2497](https://github.com/pingcap/tispark/pull/2497)
+
+## [TiSpark 3.0.2] 2022-08-29
+### Compatibility Changes
+- We will not provide the mysql-connector-java dependency because of the limit of the GPL license [#2460](https://github.com/pingcap/tispark/pull/2460)
+
+### Fixes
+- Fix the bug that single column condition is in the incorrect `if branch` [#2395](https://github.com/pingcap/tispark/pull/2395)
+- Fix when TiDB has more than 10,000 tables in one Database, TiSpark may throw Table not found exceptions [#2440](https://github.com/pingcap/tispark/pull/2440)
+- Fix the bug that count/avg can not push down [#2470](https://github.com/pingcap/tispark/pull/2470)
+- Fix the bug that when the primary key is not integer type, the two rows with null unique index will conflict and the bug that when the unique index conflicts, the conflicting unique index column cannot be deleted correctly [#2515](https://github.com/pingcap/tispark/pull/2515)
+- Fix exception would through when the size of pdAddresse is > 1 [#2478](https://github.com/pingcap/tispark/pull/2478)
+- Fix the bug that Count(bit) should not be pushed down before TiKV 6.0.0 [#2485](https://github.com/pingcap/tispark/pull/2485)
+- Upgraded Spark 3.1 support version from 3.0.2 to 3.0.3, upgraded Spark 3.1 support version from 3.1.1 to 3.1.3, upgraded Spark3.2 support version from 3.2.1 to 3.2.2 [#2488](https://github.com/pingcap/tispark/pull/2488)
+- Only do auth check for tables in TiDB [#2500](https://github.com/pingcap/tispark/pull/2500)
+- Changed profile [#2518](https://github.com/pingcap/tispark/pull/2518)
+
## [TiSpark 3.0.1] 2022-06-23
## Fixes
- Fix the bug that the single column condition is in the incorrect if branch [#2395](https://github.com/pingcap/tispark/pull/2395)
@@ -36,6 +76,21 @@ All notable changes to this project will be documented in this file.
- Update communication channels [#2228](https://github.com/pingcap/tispark/pull/2228)
- Add limitation: new collations are not supported [#2238](https://github.com/pingcap/tispark/pull/2238)
+## [TiSpark 2.5.2] 2022-08-30
+### Compatibility Changes
+- We will not provide the mysql-connector-java dependency because of the limit of the GPL license [#2461](https://github.com/pingcap/tispark/pull/2461)
+
+### Fixes
+- Fix the bug that single column condition is incorrect `if branch` [#2394](https://github.com/pingcap/tispark/pull/2394)
+- Fix when TiDB has more than 10,000 tables in one Database, TiSpark may throw Table not found exceptions [#2441](https://github.com/pingcap/tispark/pull/2441)
+- Fix the bug that count/avg can not push down [#2469](https://github.com/pingcap/tispark/pull/2469)
+- Fix the bug that when the primary key is not integer type, the two rows with null unique index will conflict and the bug that when the unique index conflicts, the conflicting unique index column cannot be deleted correctly [#2516](https://github.com/pingcap/tispark/pull/2516)
+- Fix exception would through when the size of pdAddresse is > 1 [#2477](https://github.com/pingcap/tispark/pull/2477)
+- Fix the bug that Count(bit) should not be pushed down before TiKV 6.0.0 [#2484](https://github.com/pingcap/tispark/pull/2484)
+- Upgraded Spark 3.0 support version from 3.0.2 to 3.0.3, upgraded Spark 3.1 support version from 3.1.1 to 3.1.3 [#2487](https://github.com/pingcap/tispark/pull/2487)
+- Only do auth check for tables in TiDB [#2502](https://github.com/pingcap/tispark/pull/2502)
+- Change spark profile [#2517](https://github.com/pingcap/tispark/pull/2517)
+
## [TiSpark 2.5.1] 2022-05-16
### Fixes
- Fix limit not push down bug [#2335](https://github.com/pingcap/tispark/pull/2335)
diff --git a/assembly/pom.xml b/assembly/pom.xml
index 2d93e6bd39..0439305151 100644
--- a/assembly/pom.xml
+++ b/assembly/pom.xml
@@ -5,7 +5,7 @@
com.pingcap.tispark
tispark-parent
- 3.1.0-SNAPSHOT
+ 3.1.0
../pom.xml
diff --git a/core-test/pom.xml b/core-test/pom.xml
index 126fbb03e9..1165671a21 100644
--- a/core-test/pom.xml
+++ b/core-test/pom.xml
@@ -5,7 +5,7 @@
com.pingcap.tispark
tispark-parent
- 3.1.0-SNAPSHOT
+ 3.1.0
../pom.xml
diff --git a/core/pom.xml b/core/pom.xml
index ff14dd3f5d..602124c9d0 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -5,7 +5,7 @@
com.pingcap.tispark
tispark-parent
- 3.1.0-SNAPSHOT
+ 3.1.0
../pom.xml
diff --git a/db-random-test/pom.xml b/db-random-test/pom.xml
index a8e6219f9a..9d9bf3a098 100644
--- a/db-random-test/pom.xml
+++ b/db-random-test/pom.xml
@@ -5,7 +5,7 @@
com.pingcap.tispark
tispark-parent
- 3.1.0-SNAPSHOT
+ 3.1.0
../pom.xml
diff --git a/pom.xml b/pom.xml
index 7041fc1afa..3d740df575 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
com.pingcap.tispark
tispark-parent
- 3.1.0-SNAPSHOT
+ 3.1.0
pom
TiSpark Project Parent POM
http://github.copm/pingcap/tispark
@@ -81,7 +81,7 @@
3.0.8
-Dfile.encoding=UTF-8 -Duser.timezone=GMT+8
8.0.29
- fake gpg keyname
+ fake gpg keyname
true
true
false
@@ -291,7 +291,7 @@
maven-gpg-plugin
1.5
- ${gpg.keyname}
+ ${gpg.pub.key}
${gpg.skip}
diff --git a/spark-wrapper/spark-3.0/pom.xml b/spark-wrapper/spark-3.0/pom.xml
index 1c409000bd..c915f63da5 100644
--- a/spark-wrapper/spark-3.0/pom.xml
+++ b/spark-wrapper/spark-3.0/pom.xml
@@ -5,7 +5,7 @@
com.pingcap.tispark
tispark-parent
- 3.1.0-SNAPSHOT
+ 3.1.0
../../pom.xml
diff --git a/spark-wrapper/spark-3.1/pom.xml b/spark-wrapper/spark-3.1/pom.xml
index 2d43b2e3d2..eb8787abc5 100644
--- a/spark-wrapper/spark-3.1/pom.xml
+++ b/spark-wrapper/spark-3.1/pom.xml
@@ -5,7 +5,7 @@
com.pingcap.tispark
tispark-parent
- 3.1.0-SNAPSHOT
+ 3.1.0
../../pom.xml
diff --git a/spark-wrapper/spark-3.2/pom.xml b/spark-wrapper/spark-3.2/pom.xml
index 6858d37cbb..fa478388b1 100644
--- a/spark-wrapper/spark-3.2/pom.xml
+++ b/spark-wrapper/spark-3.2/pom.xml
@@ -5,7 +5,7 @@
com.pingcap.tispark
tispark-parent
- 3.1.0-SNAPSHOT
+ 3.1.0
../../pom.xml
diff --git a/spark-wrapper/spark-3.3/pom.xml b/spark-wrapper/spark-3.3/pom.xml
index 024340a6d0..f7c2db3097 100644
--- a/spark-wrapper/spark-3.3/pom.xml
+++ b/spark-wrapper/spark-3.3/pom.xml
@@ -5,7 +5,7 @@
com.pingcap.tispark
tispark-parent
- 3.1.0-SNAPSHOT
+ 3.1.0
../../pom.xml
diff --git a/tikv-client/pom.xml b/tikv-client/pom.xml
index ef320f42f9..d8e70df613 100644
--- a/tikv-client/pom.xml
+++ b/tikv-client/pom.xml
@@ -5,7 +5,7 @@
com.pingcap.tispark
tispark-parent
- 3.1.0-SNAPSHOT
+ 3.1.0
../pom.xml