Commit Graph

528 Commits

Author SHA1 Message Date
f5072b0096 ddl: add privilege check for admin bdr commands (#51185)
close pingcap/tidb#51183
2024-02-27 10:47:01 +00:00
332086ebc8 importinto: remove separate wait routine in detached mode and refactor (#51335)
ref pingcap/tidb#49008
2024-02-27 09:05:09 +00:00
7b61b1a97b disttask: refine planErr state transition (#51279)
ref pingcap/tidb#49008
2024-02-27 07:26:08 +00:00
0df9170791 planner/infoschema: support push down lower to some memtables (#50874)
ref pingcap/tidb#50305
2024-02-27 07:26:01 +00:00
21cd1ebd1a disttask/ddl: add log for add index operators (#51267)
ref pingcap/tidb#48779
2024-02-26 11:05:15 +00:00
6af4bbaabb planner, executor: enhance the index join's choice (#51128)
close pingcap/tidb#47233
2024-02-26 10:30:37 +00:00
2c46b8e004 executor: avoid prealloc too big slice for indexMerge (#51284)
close pingcap/tidb#51188
2024-02-23 10:51:27 +00:00
58e5284b3f planner,executor: fix join resolveIndex won't find its column from children schema & amend join's lused and rused logic for reversed column ref from join schema to its children (#51203)
close pingcap/tidb#42588
2024-02-23 02:52:58 +00:00
6200123137 disttask: add benchmark to test scheduler overhead (#51182)
ref pingcap/tidb#49008
2024-02-21 10:50:03 +00:00
72517a9915 planner: allow read from TiKV for sys schema when tidb_isolation_read_engines is set to tiflash (#51219)
close pingcap/tidb#51218
2024-02-21 08:45:33 +00:00
4c76b129a3 importinto/lightning: fix incorrect datatime value for zero date (#51201)
close pingcap/tidb#50757
2024-02-21 07:06:26 +00:00
11f716e206 bootstrap, br: add sys.schema_unused_indexes view (#50887)
close pingcap/tidb#50886
2024-02-21 05:22:57 +00:00
e34702f10e disttask: unify task order naming to 'rank' & refactor failpoint (#51136)
ref pingcap/tidb#49008
2024-02-21 03:37:57 +00:00
400bb2c3d7 ddl: forbid create Generated column with Grouping function (#49930)
close pingcap/tidb#49909
2024-02-10 04:56:46 +00:00
fdcbd896e2 importinto: add disable_precheck option & change default threadcnt when import from select (#51077)
ref pingcap/tidb#49883
2024-02-08 13:20:46 +00:00
7805b9249a ddl: support create key partition with empty column (#51049)
close pingcap/tidb#51004
2024-02-08 09:20:46 +00:00
tpp
bbfea62623 planner: Correct cardinality estimate for subset index match (#50574)
close pingcap/tidb#50573
2024-02-06 16:16:15 +00:00
f0a26dd2a3 expression: Fix the issue that cast str as datetime with time_zone results in loss of precision (#50958)
close pingcap/tidb#49555
2024-02-06 03:44:44 +00:00
5c8b559854 ddl: table meta should store column without db and table name (#50978)
close pingcap/tidb#50972
2024-02-05 08:34:13 +00:00
aa00ae2217 expression: fix reverse function on bit type column (#50146)
close pingcap/tidb#49566, close pingcap/tidb#50850, close pingcap/tidb#50855
2024-02-05 04:44:43 +00:00
402c52eedb executor: Support spill of parallel hash aggregate (#49074)
ref pingcap/tidb#47733
2024-02-04 10:23:42 +00:00
a9e964249d expression: fix the incorrect result of json_length(cast(1 as json), null) (#50933)
close pingcap/tidb#50931
2024-02-04 02:51:55 +00:00
2aa13a8952 test: stabilize TestPiTRCreateNonUniqueIndex (#50913)
close pingcap/tidb#50902
2024-02-02 06:33:25 +00:00
9bad2027d5 importinto: support import from stale read (#50852)
ref pingcap/tidb#49883
2024-02-01 11:15:24 +00:00
efe8523d53 planner/infoschema: add predicate pushdown for system tables (#50779)
ref pingcap/tidb#50305
2024-02-01 10:30:25 +00:00
789cd3e51a tests: better name for the vscode launch.json (#50827) 2024-01-30 09:52:53 +00:00
4e416993cc tests: Add How to debug integration test in README.md (#50817) 2024-01-30 09:00:23 +00:00
0250675b0b txn: deprecate the transaction auto retry and related statement count limit (#50782)
ref pingcap/tidb#50350
2024-01-30 08:10:59 +00:00
afeabbbb8b planner: fix index merge test hint usage and use brief format to show explain case (#50781)
close pingcap/tidb#50553
2024-01-29 10:57:22 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
41f56d1e89 planner: fix name ambiguous check when building natural join without filter (#36012)
close pingcap/tidb#32044
2024-01-29 07:21:22 +00:00
9416934ea3 *: split planner errors and remove duplicate definitions (#50695)
ref pingcap/tidb#48875
2024-01-26 09:42:21 +00:00
34449effe3 *: tidb_opt_use_invisible_indexes support set_var (#50733)
close pingcap/tidb#50653
2024-01-26 02:46:51 +00:00
d1e6f1c291 disttask: remove revert subtask (#50550)
close pingcap/tidb#50549
2024-01-22 10:25:49 +00:00
8bb4d2f412 disttask: move step2Str to framework (#50565)
ref pingcap/tidb#49008
2024-01-22 03:12:19 +00:00
tpp
22bd51eed0 planner: adjust index scan estimate for order with limit (#50345)
close pingcap/tidb#50237
2024-01-20 01:54:19 +00:00
6db1d6b79c planner/core: Key partitioning uses an column index, which did not match value pairs in fast plan (#50210)
close pingcap/tidb#50206
2024-01-19 13:10:48 +00:00
f0bd5aa2b6 planner: fix single mv index merge case couldn't be hinted by use_index_merge (#50572)
close pingcap/tidb#50553
2024-01-19 09:42:18 +00:00
12d273e00f importinto: executor part of import from select (#50341)
ref pingcap/tidb#49883
2024-01-17 15:52:47 +00:00
bbbada0dde backup: advacned prepare implementation (#48439)
close pingcap/tidb#50359
2024-01-17 13:03:16 +00:00
fb90216ef1 planner: fix index merge intersection case will have redundant partial path (#50495)
close pingcap/tidb#50496
2024-01-17 11:51:23 +00:00
595fa7affc disttask: refine taskTable and remove useless code (#50461)
ref pingcap/tidb#48795
2024-01-17 04:06:15 +00:00
7801b914bb planner: fix panic when table path and mv index path are both used in access path (#50474)
close pingcap/tidb#50420
2024-01-16 14:00:15 +00:00
9fb89b002c executor: fix select wrong partition for hash partition table (#50430)
close pingcap/tidb#50427
2024-01-16 02:36:15 +00:00
ac712397b2 ebs_br: allow temporary TiKV unreachable during starting snapshot backup (#49154)
close pingcap/tidb#49152, close pingcap/tidb#49153
2024-01-15 17:42:15 +00:00
186f08cf71 planner: fix mv index path will be leveraged as index join's probe side (#50439)
close pingcap/tidb#50382
2024-01-15 12:33:15 +00:00
720983a20c disttask: merge transfer task/subtask (#50311)
ref pingcap/tidb#48795, close pingcap/tidb#50310
2024-01-15 10:28:46 +00:00
990c1d7266 sessionctx/variable: add tidb_max_chunk_size and tidb_init_chunk_size for SET_VAR (#50395) 2024-01-13 03:19:55 +00:00
f257590afc planner: fix union index merge can merge a embedded intersection index merge with only one partial path (#50363)
close pingcap/tidb#50265
2024-01-12 09:00:25 +00:00
e87d94904a lightning: always use PD HTTP client to access PD HTTP API (#50078)
ref pingcap/tidb#49865
2024-01-12 08:25:56 +00:00