Commit Graph

178 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
0df9170791 planner/infoschema: support push down lower to some memtables (#50874)
ref pingcap/tidb#50305
2024-02-27 07:26:01 +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
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
11f716e206 bootstrap, br: add sys.schema_unused_indexes view (#50887)
close pingcap/tidb#50886
2024-02-21 05:22: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
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
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
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
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
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
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
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
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
c1eb8abb6e *: bypass order by clause for fast point get plan (#50204)
close pingcap/tidb#49920
2024-01-12 06:57:25 +00:00
1ad36eb0ef statistics: fix missing nil check for mv index (#50313)
close pingcap/tidb#50298
2024-01-11 11:28:54 +00:00
205b5bbd21 variable: fix information_schema.VARIABLES_INFO DEFAULT_VALUE not right problem (#49524)
close pingcap/tidb#49461, close pingcap/tidb#49968, close pingcap/tidb#50155
2024-01-11 10:52:55 +00:00
0236944eab planner: fix leading hint cannot take effect in UNION ALL statements (#50277)
close pingcap/tidb#50067
2024-01-11 08:11:09 +00:00
e3bd0df35d planner: avoid scanning multi-valued index when there is no condition related (#50183)
close pingcap/tidb#50125
2024-01-11 03:31:55 +00:00
d505704207 Revert "planner: fix leading hint cannot take effect in UNION ALL statements" (#50260)
close pingcap/tidb#50067
2024-01-10 08:32:08 +00:00
01e2ee63e6 expression: fix the const prop over ENUM type (#50208)
close pingcap/tidb#49440
2024-01-10 08:32:01 +00:00
c55105e044 planner: fix leading hint cannot take effect in UNION ALL statements (#50145)
close pingcap/tidb#50067
2024-01-10 07:18:24 +00:00
7893f1637e planner: fix range partition prune with an unsigned column (#50113)
close pingcap/tidb#50082
2024-01-08 11:42:36 +00:00
2253f2940f *: do not return row not match parition error when using update ingore (#50134)
close pingcap/tidb#50128
2024-01-08 04:22:53 +00:00
bf166d9c5d planner, statistics: support estimation for mv index access path (#49852)
close pingcap/tidb#46539
2024-01-05 06:51:34 +00:00
f5cb034baa ddl: support fine-grained modify column and add column (#50039)
close pingcap/tidb#48519
2024-01-05 05:47:03 +00:00
e8861cf6d6 vars: add pd_enable_follower_handle_region to support get region from pd follower (#49231)
close pingcap/tidb#49747
2024-01-04 11:00:33 +00:00
8cebf0f7c7 planner: simplify global and session binding handle (#50063)
ref pingcap/tidb#48875
2024-01-04 09:02:03 +00:00
6f3266498d ddl: fix reorg cannot handle divide 0 error (#50057)
close pingcap/tidb#50053
2024-01-04 06:21:32 +00:00
ebe334f48b executor: fix select wrong partition for hash partition table (#50045)
close pingcap/tidb#50044
2024-01-04 05:14:02 +00:00
494d9f0769 parser: support hints in 'REPLACE INTO' statement (#50007)
close pingcap/tidb#34325
2024-01-04 04:47:03 +00:00
1f49f2d09b planner: simplify the global binding interface (#50019)
ref pingcap/tidb#48875
2024-01-03 11:17:02 +00:00