Commit Graph

436 Commits

Author SHA1 Message Date
245f7a9a55 *: add rpc error stats and refine log (#52810)
close pingcap/tidb#52809
2024-04-29 13:28:28 +00:00
20454c45dc executor: add failpoints to control chunk size (#52960)
ref pingcap/tidb#50215
2024-04-29 10:06:05 +00:00
26e3b5f630 planner: fix the slow test TestIntersectionWithDifferentConcurrency (#52976)
close pingcap/tidb#47326
2024-04-29 08:31:29 +00:00
40c81c0fd5 *: fix global index work with memIndexReader executor (#52660)
close pingcap/tidb#52493
2024-04-28 11:23:57 +00:00
70a825397f *: add metadata lock when using the plan cache (#51897)
close pingcap/tidb#51407
2024-04-28 09:16:27 +00:00
66ba419636 *: modify the printing of column default expression in SHOW CREATE TABLE and Restore (#52940)
close pingcap/tidb#52939
2024-04-28 08:34:27 +00:00
944fff519c executor: Fix index join hash produces redundant rows for left outer anti semi join type (#52908)
close pingcap/tidb#52902
2024-04-26 09:46:02 +00:00
d626b6adf0 disttask: fix scope can't set different value (#52627)
close pingcap/tidb#52441
2024-04-26 07:19:42 +00:00
4cd8e94516 executor: remove unnecessary stack for insert and load data (#52784)
close pingcap/tidb#52783
2024-04-26 02:07:41 +00:00
e8c397ff93 planner: collect and move correlated utility to util pkg (#52866)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-04-25 08:10:43 +00:00
6d6c203e29 statistics: add more comments to FMSketch (#52841) 2024-04-24 12:33:11 +00:00
c0e6cba4ad *: bump up client-go to fix #52464 (#52844)
close pingcap/tidb#52464
2024-04-24 10:31:41 +00:00
f383e0e685 ddl: add some comments to help readability (#52825) 2024-04-24 08:33:18 +00:00
a74d9a74c6 planner: small refactor for plan cache (#52837)
ref pingcap/tidb#50618
2024-04-23 10:25:40 +00:00
42d58b5b28 planner, executor: support aggregation as inner side of index join (#51354)
close pingcap/tidb#37068
2024-04-23 09:42:10 +00:00
3368ccdef1 expression: introduce StaticEvalContext to provide context when evaluating expressions (#52631)
close pingcap/tidb#52630
2024-04-23 06:52:40 +00:00
cfbabfa705 stmtctx: use a standalone RangeFallbackHandler (#52738)
close pingcap/tidb#52737
2024-04-22 13:04:39 +00:00
62f3aea0f3 resource_control: Separate the mark for watch and rule and enhance testing (#52197)
ref pingcap/tidb#43691
2024-04-22 12:25:39 +00:00
f1ddb5a968 stmtsummary: add new columns plan_cache_unqualifed into statement_summary (#52725)
close pingcap/tidb#50618
2024-04-22 04:42:09 +00:00
72e5460ee8 lightning/importinto: fix insert err after import for AUTO_ID_CACHE=1 and SHARD_ROW_ID_BITS (#52712)
close pingcap/tidb#52654
2024-04-18 08:10:38 +00:00
f5e591d107 *: fix 'Duplicate entry' error when @@auto_increment_increment and @@auto_increment_offset is set (#52626)
close pingcap/tidb#52622
2024-04-18 07:03:07 +00:00
2e1d9e1039 executor: remove the retry for analyze (#52634)
close pingcap/tidb#52601
2024-04-16 11:12:06 +00:00
2493981289 distsql, executor: remove pctx from trectx (#52496)
close pingcap/tidb#52495
2024-04-15 12:22:36 +00:00
5aa48d8284 planner: move base plan related output of core pkg and make it well-pkged (#52529)
ref pingcap/tidb#51664
2024-04-15 10:51:06 +00:00
f2fb90975d executor: fix RU missing for DML stmtatement in explain analyze (#52576)
close pingcap/tidb#52575
2024-04-15 09:42:06 +00:00
224ae15478 *: improve log about stale-read query (#52494)
close pingcap/tidb#52492
2024-04-15 07:48:06 +00:00
98e8cec7ed executor: make tablesample work under different partition prune modes (#52405)
close pingcap/tidb#52282
2024-04-12 07:42:23 +00:00
58267e188b executor: fix data race in the sortexec (#52417)
close pingcap/tidb#52281
2024-04-12 06:58:59 +00:00
5954be7da2 *: let our unit test cover the infoschema v2 code (#52156)
ref pingcap/tidb#50959
2024-04-12 06:58:53 +00:00
7308ff1b10 disttask: enable on default (#52401)
ref pingcap/tidb#52441
2024-04-12 03:51:23 +00:00
Z.H
572e5c48d9 systable: referenced_table_schema in information_schema.key_column_usage should return foreign key table instead of original table (#52370)
close pingcap/tidb#52350
2024-04-11 12:49:52 +00:00
31b3440dc7 executor: fix goroutine leak when builder panic (#52471)
close pingcap/tidb#51693
2024-04-11 11:01:52 +00:00
2debbed41d expression: create a new context in ColumnInfos2ColumnsAndNames to ignore truncate error (#52468)
close pingcap/tidb#52366
2024-04-11 08:09:29 +00:00
8188ede43a linter, *: enable linters appends and unusedwrite (#52452)
ref pingcap/tidb#52449, close pingcap/tidb#52450
2024-04-10 11:45:22 +00:00
6cca89c794 executor, planner: add a smaller context for ToPB method (#52369)
close pingcap/tidb#52368
2024-04-10 05:31:51 +00:00
ab90c771a2 resource_manager: fix test by checking system table status (#52456)
close pingcap/tidb#52455
2024-04-09 13:58:51 +00:00
12833e8278 executor, planner: minimize the context used by the ranger package (#52363)
close pingcap/tidb#52362
2024-04-09 10:57:21 +00:00
38f665a104 executor: fix mppIterator memory leak when got error (#52410)
close pingcap/tidb#52406
2024-04-09 09:00:27 +00:00
1905e8973c expression: add some methods in BuildContext to read fields in SessionVars before (#52367)
close pingcap/tidb#52366
2024-04-09 02:39:20 +00:00
0ddbbc8ffc planner, executor: make partition table generate IndexReader with UnionScan (#52337)
close pingcap/tidb#52244
2024-04-08 05:25:49 +00:00
060ff39ab7 planner: simplify plan cache code (#52384)
ref pingcap/tidb#51407
2024-04-07 09:46:49 +00:00
62d6f4737b planner: move fields from ast.Prepared to planner.PlanCacheStmt (#52373)
ref pingcap/tidb#51407
2024-04-07 08:30:20 +00:00
d2eb9026a4 executor: fix distorted join probe time (#52227)
close pingcap/tidb#52222
2024-04-07 03:33:19 +00:00
482ce59bf6 expression: separate BuildContext and EvalContext (#52311)
close pingcap/tidb#52310
2024-04-03 09:42:24 +00:00
b4c8b5279f distsql: support global index in memIndexLookUpReader (#52240)
close pingcap/tidb#52132
2024-04-02 07:51:17 +00:00
d971a6dd1e importinto: change min thread to 8 for global sort (#52276)
ref pingcap/tidb#49008
2024-04-02 05:00:17 +00:00
76abd8b836 disttask,ddl: use subtask concurrency (#52286)
ref pingcap/tidb#49008
2024-04-02 04:24:16 +00:00
f7d66f4913 distsql: use a more accurate type of the context of distsql (#51618)
close pingcap/tidb#51617
2024-04-01 08:27:16 +00:00
f2ea18c07f lightning: move lightning directory out of br (#52247)
ref pingcap/tidb#52182
2024-04-01 07:13:46 +00:00
6f0adb8c4a executor: fix data race in parallel sort test (#52246)
close pingcap/tidb#52238
2024-04-01 03:55:46 +00:00