Commit Graph

126 Commits

Author SHA1 Message Date
2002ca106e load data: physical mode part2 (#42883)
ref pingcap/tidb#40499
2023-04-13 14:09:01 +08:00
88d81cad74 parser: add warning when the hint in the wrong place (#42152)
close pingcap/tidb#42149
2023-03-30 09:18:55 +08:00
3ea364720b load data: add root cause to an error message (#42352)
ref pingcap/tidb#40499
2023-03-17 17:39:13 +08:00
04741ae4ca *: implement CANCEL/DROP LOAD DATA JOB (#42137)
ref pingcap/tidb#40499
2023-03-17 11:58:39 +08:00
982e0dcb7f *: LOAD DATA support WITH DETACHED (#42159)
ref pingcap/tidb#40499
2023-03-15 19:48:39 +08:00
7c3a22e48d *: implement SHOW LOAD DATA JOB (#42118)
ref pingcap/tidb#40499
2023-03-13 22:24:39 +08:00
04fefc97e6 load data: add with options (#41890)
ref pingcap/tidb#40499
2023-03-03 21:21:23 +08:00
ad01574a71 errors: add resource group throttled error (#41677)
ref pingcap/tidb#38825, close pingcap/tidb#41675
2023-03-03 14:01:10 +08:00
1da60a3ce4 executor: check error message and refine LOAD DATA logic (#41640)
ref pingcap/tidb#40499
2023-02-28 21:19:09 +08:00
70d1f6292c ddl: fix error when setting tidb_enable_ddl (#41298)
close pingcap/tidb#41277
2023-02-13 21:40:00 +08:00
278a9fec2a ddl: Improve ErrTooLongKey message (#41270)
Prefix indexes are specified in characters while this error message
returns a limit in bytes. By adding the byte length in the message this
is makes it easier to understand.

This would deviate a little bit from the message in MySQL.

Before:
```
sql> CREATE TABLE t1(id int primary key, c1 text, key(c1(1000)));
ERROR: 1071 (42000): Specified key was too long; max key length is 3072 bytes
```

After:
```
sql> CREATE TABLE t1(id int primary key, c1 text, key(c1(1000)));
ERROR: 1071 (42000): Specified key was too long (4000 bytes); max key length is 3072 bytes
```
2023-02-10 11:57:11 +01:00
280b773206 ddl: prevent dropping in-use resource group (#40716)
ref pingcap/tidb#38825
2023-01-19 18:53:49 +08:00
efbdeed4ab json, expression: add json unary not implementation (#40723)
close pingcap/tidb#40683
2023-01-19 16:39:49 +08:00
b8e5460a84 *: add new global variable tidb_enable_resource_control as a switch (#40440)
ref pingcap/tidb#38825
2023-01-12 22:01:46 +08:00
caffd8d6c5 ttl: forbid creating/altering a table with TTL options when pk contains float/double column (#40487)
* ttl: forbid create/alter a table with TTL options when pk contains float/double column

* format

* update

* update

* update

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-11 16:22:33 +08:00
db53a42eea errno, store: fix ErrPDServerTimeout arguments (#40468)
close pingcap/tidb#40439
2023-01-11 10:30:23 +08:00
b477b1c946 *: Supports create/alter/drop resource group (#40188)
ref pingcap/tidb#38825
2023-01-09 13:44:22 +08:00
b226dfcb05 ttl: add ttl_job_interval attribute and remove tidb_ttl_job_interval variable (#40033)
close pingcap/tidb#40028
2023-01-06 17:56:21 +08:00
c8124a0595 ddl: Disable RENAME COLUMN for partitioning columns | tidb-test=pr/2054 (#40151)
close pingcap/tidb#40150
2022-12-29 09:18:16 +08:00
83d275cc53 ddl: Refine the error message to compatible with MySQL when drop a partition table partition key column (#38740)
close pingcap/tidb#38739
2022-12-27 18:24:16 +08:00
59cda14a4e *: Support Failed-Login Tracking and Temporary Account Locking (#39322)
close pingcap/tidb#38938
2022-12-10 07:45:44 +08:00
d045b41d87 ttl,ddl: disable ttl for fk and temp table (#39581)
close pingcap/tidb#39351, close pingcap/tidb#39364
2022-12-02 18:22:01 +08:00
824ef608c7 *: support password expiration policy (#39035)
ref pingcap/tidb#9709, close pingcap/tidb#38936
2022-12-02 16:36:02 +08:00
cabc01825d ddl: improve the log messages and refine code (#39456) 2022-12-02 15:02:01 +08:00
40d1ddb364 *: support password reuse policy (#39162)
ref pingcap/tidb#38937
2022-12-02 09:58:01 +08:00
7f632be1d5 ddl: add ttl related jobs / execution (#39298)
close pingcap/tidb#39269, close pingcap/tidb#39270, close pingcap/tidb#39271
2022-11-28 10:42:00 +08:00
c34ee821a2 errno, statistics: show partition name whose stats are missing when merging global stats fails (#39348) 2022-11-25 18:31:59 +08:00
97add26c8f json: support array range selection and from last selection (#38584)
close pingcap/tidb#38583
2022-11-01 18:25:59 +08:00
43468983d9 *: add foreign key cascade delete when execute delete statement (#38377)
close pingcap/tidb#38376
2022-10-21 11:27:54 +08:00
f1b7aa1187 txn: add db name and table name in write conflict error message (#38040)
close pingcap/tidb#37257
2022-10-11 16:19:51 +08:00
9a8272dc71 ddl: add foreign key check when modify column (#37823)
close pingcap/tidb#37821
2022-09-15 19:10:59 +08:00
f80a42d2d6 ddl: check index is needed in foreign key when drop index (#37813)
close pingcap/tidb#37812
2022-09-15 14:44:59 +08:00
3f77284ee4 ddl: add foreign key check when execute drop/truncate table (#37773)
close pingcap/tidb#37772
2022-09-14 16:50:59 +08:00
884898b812 txn: distinguish write conflict reasons (#37735)
close pingcap/tidb#37734
2022-09-14 14:46:58 +08:00
dfde95cb93 expression: check json max depth (#37759)
close pingcap/tidb#37292
2022-09-13 17:36:58 +08:00
9036de3394 *: support create table with foreign key and maintain foreign key reference (#37148)
close pingcap/tidb#37147
2022-09-07 13:22:56 +08:00
835922a5cd txn: support skipping locking of some INSERT in pessimistic transactions (#36473)
close pingcap/tidb#36579
2022-09-01 18:34:25 +08:00
a89ef1f276 *: support ACCOUNT (UN)LOCK when creating/altering user (#37052)
close pingcap/tidb#35961, close pingcap/tidb#37051
2022-08-25 16:12:22 +08:00
cf69205919 expression: refactor json path syntax and make it compatible with mysql (#37074)
ref pingcap/tidb#37133
2022-08-23 11:14:20 +08:00
6a6fa8a882 ddl: Add sql_require_primary_key sysvar (#36146)
close pingcap/tidb#28544
2022-08-03 17:20:06 +08:00
5b4a82dbf4 *: upgrade bazel timeout (#36776) 2022-08-02 11:10:05 +08:00
fc217d432c config, sysvar: add config instance.enable_ddl and sysvar tidb_enable_ddl (#35425)
ref pingcap/tidb#34960
2022-08-01 15:02:06 +08:00
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
c836501f89 server, session: report an error when the session states cannot be fetched (#35892)
close pingcap/tidb#35866
2022-07-04 12:31:00 +08:00
5c9ad77ae1 *: add support for disabling noop variables (#35496)
close pingcap/tidb#8895
2022-06-21 14:10:36 +08:00
27a1b944b8 error: split an error type from ErrKeyColumnDoesNotExists (#35394)
close pingcap/tidb#35102
2022-06-17 15:46:35 +08:00
d25adf057d load_data: fix the bug that column list does not work in load data. (#35222)
close pingcap/tidb#35198
2022-06-16 21:36:36 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
2cf1354f72 *: global stats consistency for dynamic prune (#34695)
close pingcap/tidb#34730
2022-05-19 11:34:38 +08:00
810f8ae12e *: remove pingcap/check dependency (#34734)
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00