Releases: pingcap/tispark
TiSpark 2.2.0
New Features
- Natively support writing data to TiKV (ACID) using Spark Data Source API
WARNING
DO NOT set spark.tispark.write.without_lock_table
to true
on production environment (you may lost data).
Improvements
- Release one TiSpark jar (both support Spark-2.3.x and Spark-2.4.x) instead of two #933
- Add spark version to TiSpark's udf ti_version #943
- Bump grpc to 1.17 #982
- Add retry mechanism for
batchGet
#986
Fixes
TiSpark 2.1.4
TiSpark 2.1.3
TiSpark 2.1.2
TiSpark 1.2.1
TiSpark 1.2.1 is released!
TiSpark 1.2.1 is a bug fix release. The most important bug fixed in this release is #899.
We suggest all users who use TiSpark 1.2 to upgrade to TiSpark 1.2.1.
Fixes
TiSpark 2.1.1
TiSpark 2.1.1 is released!
TiSpark 2.1.1 is a bug fix release. The most important bug fixed in this release is #882.
We suggest all users who use TiSpark 2.1 to upgrade to TiSpark 2.1.1.
Fixes
- Add TiDB/TiKV/PD version and Spark version supported for each latest major release (#804) (#887)
- Fix incorrect timestamp of
tidbMapDatabase
(#862) (#885) - Fix column size estimation (#858) (#884)
- fix count error, if advanceNextResponse is empty, we should read next region (#878) (#882)
- use fixed version of proto instead of master branch (#843) (#850)
TiSpark 2.1
TiSpark 2.1 is released!
TiSpark 2.1 contains multiple fixes and refinement. It also provides support for Spark 2.3/2.4.
Features
Fixes
- Fix build key ranges with xor expression (#576)
- Fix cannot initialize pd if using ipv6 address (#587)
- Fix default value bug (#596)
- Fix possible IndexOutOfBoundException in KeyUtils (#597)
- Fix outputOffset is incorrect when building DAGRequest (#615)
- Fix incorrect implementation of
Key.next()
(#648) - Fix partition parser can't parser numerical value 0 (#651)
- Fix prefix length may be larger than the value used. (#668)
- Fix retry logic when scan meet lock (#666)
- Fix inconsistent timestamp (#676)
- Fix tempView may be unresolved when applying timestamp to plan (#690)
- Fix concurrent DAGRequest issue (#714)
- Fix downgrade scan logic (#725)
- Fix integer type default value should be parsed to long (#741)
- Fix index scan on partition table (#735)
- Fix KeyNotInRegion may occur when retrieving rows by handle (#755)
- Fix encode value long max (#761)
- Fix MatchErrorException may occur when Unsigned BigInt contains in group by columns (#780)
- Fix IndexOutOfBoundException when trying to get pd member (#788)
TiSpark 2.0
TiSpark 2.0 is released!
TiSpark works with Spark 2.3 now and uses multiple new features such as Spark Extensions. The new document can be found at https://github.com/pingcap/tispark/blob/master/docs/userguide.md#demo .
Features
- Work with Spark 2.3
- Support
use $database
statement - Support
show databases
statement - Support
show tables
statement - No need to use
TiContext.mapTiDBDatabase
, use$database.$table
to identify a table instead - Support data type
SET
andENUM
- Support data type
YEAR
- Support data type
TIME
- Support isolation level settings
- Support
describe table
command - Support cache tables and uncache tables
- Support read from a TiDB partition table
- Support use TiDB as metastore
Fixes
- Fix JSON parsing (#491)
- Fix count on empty table (#498)
- Fix ScanIterator unable to read from adjacent empty regions (#519)
- Fix possible NullPointerException when setting
show_row_id
true (#522)
Improved
- Make ti version usable without selecting database (#545)
TiSpark 1.2
Fixes
- Fixes compatibility with PDServer #480
TiSpark 1.1
Fixes multiple bugs:
- Fix daylight saving time (DST) (#347)
- Fix count(1) result is always 0 if subquery contains limit (#346)
- Fix incorrect totalRowCount calculation (#353)
- Fix request fail with Key not in region after retrying NotLeaderError (#354)
- Fix ScanIterator logic where index may be out of bound (#357)
- Fix tispark-sql dbName (#379)
- Fix StoreNotMatch (#396)
- Fix utf8 prefix index (#400)
- Fix decimal decoding (#401)
- Refactor not leader logic (#412)
- Fix global temp view not visible in thriftserver (#437)
Adds:
Improvements: