Commit Graph

600 Commits

Author SHA1 Message Date
cbe807fe76 planner, executor: allow build root task type of expand operator and implement expand executor (#54536)
close pingcap/tidb#42631
2024-07-24 11:13:48 +00:00
1cee7005a6 *: add table lock, foreign key to special attributes (#54672)
ref pingcap/tidb#50959
2024-07-24 10:34:34 +00:00
47179ae14d table: introduce RowIDShardGenerator and ReservedRowIDAlloc to alloc auto row id (#54789)
ref pingcap/tidb#54397
2024-07-24 09:01:35 +00:00
da3e7cadbe table: add WritableConstraint to interface table.Table to avoid implicit interface implementation (#54825)
close pingcap/tidb#54824
2024-07-24 07:09:05 +00:00
d67421d465 table: Add GetStatisticsSupport and GetBinlogSupport for MutateContext (#54832)
ref pingcap/tidb#54397
2024-07-24 06:07:34 +00:00
be01e5a2f8 executor: support detaching the IndexReader and IndexLookUp (#54800)
close pingcap/tidb#54799
2024-07-23 11:42:11 +00:00
a18b3c54e9 *: remove infoschema.SchemaTables() API, replace it with SchemaTableInfos() (#54664)
ref pingcap/tidb#50959
2024-07-23 11:42:04 +00:00
b19a91817c *: isolate more variables for runWithSystemSession (#54791)
close pingcap/tidb#54343
2024-07-23 10:36:04 +00:00
f5ac1c4a45 *: support tidb_redact_log for explain (#54553)
close pingcap/tidb#54565
2024-07-23 08:45:04 +00:00
Hu#
560e92ed72 runaway: change tidb_runaway_watch time type to UTC (#54768)
ref pingcap/tidb#54434, close pingcap/tidb#54770
2024-07-23 08:04:34 +00:00
f774ef6fb5 ddl: fix a caught panic and add comment for DDL functions (#54685)
ref pingcap/tidb#54436, close pingcap/tidb#54687
2024-07-23 05:04:41 +00:00
a7865a68a5 session: bind extensions to bootstrap session (#54670)
close pingcap/tidb#54671
2024-07-22 17:45:03 +00:00
5fe9aca144 executor: enable hash join v2 for temporary test (#54748)
ref pingcap/tidb#53127
2024-07-22 06:57:03 +00:00
07f7774987 executor: refactor the BaseExecutor and remove session context in IndexLookUpExecutor and IndexReaderExecutor. (#54626)
close pingcap/tidb#54625
2024-07-22 05:03:04 +00:00
f7fc12283a infoschema: speed up reader for some tables (#54333)
ref pingcap/tidb#50305
2024-07-22 04:30:03 +00:00
8edd4ed543 executor: remove HashJoinV2Exec.needUsedFlag() (#54766)
close pingcap/tidb#54755
2024-07-22 01:55:32 +00:00
267e1c4d51 executor: Refine partition number in hash join v2 (#54304)
ref pingcap/tidb#53127
2024-07-19 10:30:01 +00:00
e53bfc484a executor: Add more comments for collecting stats on generated column index (#54769) 2024-07-19 09:43:44 +00:00
13e428061a context, executor: add a function to detach the TableReaderExecutor (#54456)
close pingcap/tidb#53336
2024-07-19 09:43:31 +00:00
2da324d1a1 executor: Use the BaseExecutorV2 to refactor the SelectionExec and remove the session context inside (#54617)
close pingcap/tidb#54616
2024-07-19 07:21:01 +00:00
da31af81a6 executor: improve set config error message for ms (#52910)
close pingcap/tidb#52912
2024-07-19 03:45:01 +00:00
708cbfeab4 tables: reduce GetSessionVars from MutateContext in tables (#54715)
close pingcap/tidb#54397
2024-07-19 02:40:31 +00:00
afd6d6a33a server: add protocol support for lazy cursor fetch (#54527)
close pingcap/tidb#54526
2024-07-18 10:22:32 +00:00
34dfcfa572 executor: fix unstable test TestPointGetForTemporaryTable (#54707)
close pingcap/tidb#54702
2024-07-18 07:52:44 +00:00
320d0f41db *: don't save table IDs in schema diff of FLASHBACK DATABASE (#54665)
close pingcap/tidb#54415
2024-07-18 07:52:37 +00:00
26378cbe48 lightning: make table in BaseKVEncoder private and provide some wrapped methods (#54673)
ref pingcap/tidb#54397
2024-07-18 03:40:31 +00:00
e858f55f62 executor: some minor refine for hash join v2 build (#54429)
ref pingcap/tidb#53127
2024-07-18 02:37:31 +00:00
a48a4a28a4 executor: populate correct user in set pwd for error msg (#54040)
close pingcap/tidb#54039
2024-07-17 18:25:31 +00:00
e33dbbc53a ddl: combine table/partition/db id allocation with job id (#54669)
ref pingcap/tidb#54436
2024-07-17 10:31:30 +00:00
156f23aacb planer: fix invalid pointer caused by a recursive CTE query (#54450)
close pingcap/tidb#54449
2024-07-17 04:45:00 +00:00
b5bbbf471c executor: refactor the BaseExecutor and remove session context in ProjectionExec (#54614)
close pingcap/tidb#54613
2024-07-17 04:10:29 +00:00
7a09434f29 executor: fix update ignore still report dup-key error in statement retry (#54495)
close pingcap/tidb#54489
2024-07-16 13:33:00 +00:00
de3aba2d0f executor: Optimize slow log parsing's splitByColon function (#54630)
close pingcap/tidb#54538
2024-07-16 07:44:59 +00:00
06e0e17d98 *: fix ctrl+c can not kill tidb during statistics init (#54594)
close pingcap/tidb#54589
2024-07-15 09:26:59 +00:00
ac786cb1a3 server: refine the connection counter logic (#54546)
close pingcap/tidb#54428, close pingcap/tidb#54545
2024-07-15 05:11:58 +00:00
2934442a76 *: optimize the speed of full load (#54185)
ref pingcap/tidb#50959
2024-07-15 04:20:58 +00:00
1ce4236d95 executor: support right outer join for hash join v2 (#54405)
ref pingcap/tidb#53127
2024-07-13 06:26:57 +00:00
8b78a4faa3 ddl: improve FLASHBACK DATABASE for many table case (#54439)
close pingcap/tidb#54415
2024-07-13 05:52:27 +00:00
e5a8a23e83 *: enable the predicate columns feature by default (#54440)
ref pingcap/tidb#53567
2024-07-12 09:23:28 +00:00
3a61d79fee planner: add more test cases for Plan.Clone (#54588)
ref pingcap/tidb#54057
2024-07-12 06:40:35 +00:00
4fe31ed95e table: make slices in ColSizeDeltaBuffer private (#54539)
close pingcap/tidb#54392
2024-07-12 03:36:06 +00:00
a4908820a3 executor: fix incorrect chunk full judgement in parallel sort spill (#54558)
close pingcap/tidb#54557
2024-07-11 08:03:05 +00:00
3fc5939239 executor,infoschema: Add pad_attribute to collation info (#54282)
close pingcap/tidb#54250
2024-07-10 10:07:34 +00:00
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
593c415707 planner: Remove CloneForPlanCache method (#54528)
ref pingcap/tidb#54057
2024-07-09 15:12:03 +00:00
cbf34c51e9 executor/simple: prohibit setting a resource group to a role (#54525)
close pingcap/tidb#54417, ref pingcap/tidb#54434
2024-07-09 13:07:34 +00:00
d5cba7ee7e executor: fix unstable unit test TestMergeJoinInDisk (#54524)
close pingcap/tidb#54006
2024-07-09 11:45:03 +00:00
887637bc3b executor: fix cte mem tracker failpoint condition again (#54523)
close pingcap/tidb#54379
2024-07-09 10:49:47 +00:00
8f0db6fe2b table: move add TTL insert rows metrics code out of table package (#54521)
ref pingcap/tidb#54397
2024-07-09 10:49:40 +00:00
bf50430eee session, executor, domain: use the SQL start time to calculate the runaway deadline (#54496)
ref pingcap/tidb#54434
2024-07-08 10:12:02 +00:00