Commit Graph

319 Commits

Author SHA1 Message Date
ac7dad3456 *: fix parallel apply wrong result (#51414)
close pingcap/tidb#51372
2024-02-29 11:03:31 +00:00
bda61f6767 *: remove useless stmtVars method in SessionVars (#51345)
close pingcap/tidb#51344
2024-02-29 09:44:12 +00:00
4182a418c8 *: save kv.Storage in import disttask components and use it (#51336)
ref pingcap/tidb#51337
2024-02-29 07:42:31 +00:00
61c903fa36 session,executor: get back the error stack information from a regression (#50857)
close pingcap/tidb#50849
2024-02-29 05:06:30 +00:00
f1410bf2a8 planner: seperate methods in PlanContext and EvalContext/BuildContext (#51382)
close pingcap/tidb#51381
2024-02-28 11:03:31 +00:00
e586960027 table: fix issue of get default value from column when column doesn't have default value (#51309)
close pingcap/tidb#50043, close pingcap/tidb#51324
2024-02-28 05:46:59 +00:00
218f3af41e executor: fix data race in hash agg ut (#51342)
close pingcap/tidb#51254
2024-02-27 14:35:02 +00:00
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