Commit Graph

312 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
6f02e99396 experssion: table: standalone implement for EvalContext and BuildContext (#51299)
close pingcap/tidb#51298
2024-02-27 07:26:21 +00:00
4c88ad1232 executor: make checksum block gc (#51293)
close pingcap/tidb#50920
2024-02-27 07:26:14 +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
3c3ba00cb4 ddl: data type default values support STR_TO_DATE('1980-01-01','%Y-%m-%d') (#51278)
close pingcap/tidb#51276
2024-02-27 04:36:30 +00:00
6af4bbaabb planner, executor: enhance the index join's choice (#51128)
close pingcap/tidb#47233
2024-02-26 10:30:37 +00:00
de16e0d319 executor: Support Parallel Sort (#49705)
close pingcap/tidb#49217
2024-02-26 10:30:30 +00:00
efd52507ab executor, infoschema: add ticdc into table cluster_info (#50523)
close pingcap/tidb#50723
2024-02-26 09:20:00 +00:00
2c46b8e004 executor: avoid prealloc too big slice for indexMerge (#51284)
close pingcap/tidb#51188
2024-02-23 10:51:27 +00:00
a6768bc3e0 executor: refine topn (#51271)
ref pingcap/tidb#47733
2024-02-23 09:16:57 +00:00
fc36864a1f table: standalone implement for table.MutateContext and table.AllocatorContext (#51262)
close pingcap/tidb#51259
2024-02-23 07:21:27 +00:00
e06dc99a4b infoschema,domain: introduce InfoSchemaV2, core data struct etc (#51058)
ref pingcap/tidb#50959
2024-02-23 05:10:58 +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
5b187e5e56 planner: standalone implement for PlanContext (#51237)
close pingcap/tidb#51236
2024-02-22 15:03:28 +00:00
3d1708f80c telemetry: remove the codes of Telemetry (#51202)
close pingcap/tidb#49939
2024-02-22 11:48:26 +00:00
671e980340 statistics: build the table analysis job queue (#51045)
ref pingcap/tidb#50132
2024-02-22 07:21:27 +00:00
9ee46d42e5 executor: introduce AggFuncUpdateContext and AggFuncBuildContext to evaluate and build aggeration functions (#51224)
close pingcap/tidb#51223
2024-02-22 05:27:27 +00:00
1ee58bf15b planner: replace context in planbuilder to PlanContext (#51172)
ref pingcap/tidb#51070, close pingcap/tidb#51171
2024-02-21 10:49:57 +00:00
2041d494cc util: Adjust binary collate behavior to do pattern matching in bytes (#51113)
close pingcap/tidb#50393
2024-02-21 08:45:27 +00:00
11f716e206 bootstrap, br: add sys.schema_unused_indexes view (#50887)
close pingcap/tidb#50886
2024-02-21 05:22:57 +00:00
52052f1044 bootstrap: remove mysql.load_data_jobs (#51176)
ref pingcap/tidb#44078
2024-02-20 13:21:27 +00:00
fa340f3400 executor: fix CTE goroutine leak when exceeds mem quota (#50828)
close pingcap/tidb#50337
2024-02-19 09:42:26 +00:00
aca145b164 ddl, lightning: use TiDB PD client's discovery to create local backend (#51108)
close pingcap/tidb#51103
2024-02-18 10:55:55 +00:00
65d57c0a43 import into: log checksum for each KV group (#50871)
ref pingcap/tidb#50832
2024-02-18 08:55:55 +00:00
464a12651b build(deps): bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.1 (#51089) 2024-02-18 06:57:01 +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
ee1864460f planner: introduce PlanContext to provide context for planner phase (#51074)
close pingcap/tidb#51070
2024-02-08 10:35:47 +00:00
b94a2a8811 planner: adding missing code of similar definition for test (#51035)
close pingcap/tidb#45112
2024-02-07 17:07:15 +00:00
4c749f052b executor,planner: make used stats info thread safe (#51029)
close pingcap/tidb#50835
2024-02-07 09:40:22 +00:00
f5e0799dd7 *: store db ID in model.TableInfo and move SchemaByTable method out from InfoSchema (#50917)
ref pingcap/tidb#50959
2024-02-07 05:07:15 +00:00
526d738207 expression: refactor functions to build expressions (#50997)
close pingcap/tidb#50996
2024-02-07 03:05:45 +00:00
f7aaf1cfa1 executor: change ut parameters in parallel aggregate hash spill ut (#51012)
ref pingcap/tidb#47733
2024-02-06 11:16:15 +00:00
cea36059cb expression: fix some failed tests in local env (#50954)
close pingcap/tidb#50953
2024-02-05 02:58:13 +00:00
9a0b6b6d32 executor,bootstrap: add tidb_index_usage table and cluster_tidb_index_usage table (#50824)
close pingcap/tidb#50823
2024-02-04 12:55:13 +00:00
402c52eedb executor: Support spill of parallel hash aggregate (#49074)
ref pingcap/tidb#47733
2024-02-04 10:23:42 +00:00
c6d727054a infoschema: remove some redundant methods from InfoSchema (#50916)
ref pingcap/tidb#50959
2024-02-04 08:41:42 +00:00
1befe9855d executor: record the index usage on a the whole table (#50816)
close pingcap/tidb#50814
2024-02-02 07:25:54 +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
6e022a5c31 table: introduce MutateContext and AllocatorContext for table.Table (#50862)
close pingcap/tidb#50861
2024-02-01 09:01:54 +00:00
c76fe3ff97 plan replayer: fix cannot load bindings when the statement contains in (...) (#50762)
close pingcap/tidb#43192
2024-01-31 13:54:25 +00:00
acd4999594 executor: fix negative consumedbyte for hashRowcontainer (#50843)
close pingcap/tidb#50841
2024-01-31 10:24:24 +00:00
d0d4eca445 executor: enhance memory tracking for IndexLookup (#49336)
close pingcap/tidb#45901
2024-01-31 07:58:54 +00:00
7ca7a04da6 executor: log each response for checksum (#50833)
ref pingcap/tidb#50832
2024-01-31 04:15:23 +00:00
62e6bb307b *: remove redundant go_test (#50812)
close pingcap/tidb#50799
2024-01-30 08:39:30 +00:00
66401b5c06 executor: remove useless code for tidb_analyze_distsql_scan_concurrency (#50811)
close pingcap/tidb#50641
2024-01-30 08:39:24 +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
fdb13d1080 importinto: fix checksum always use default distsql-scan-concurrency (#50807)
close pingcap/tidb#50805
2024-01-30 06:33:22 +00:00
7087f702e1 executors: record the index usage in each executors (#50643)
close pingcap/tidb#50261
2024-01-30 03:51:22 +00:00