Commit Graph

621 Commits

Author SHA1 Message Date
fdcb2e4afe planner: move logical projection into logicalop pkg. (#55135)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-01 12:50:49 +00:00
5c2dde89a3 executor, expression: detach projection and selection operator (#54864)
close pingcap/tidb#54863
2024-08-01 07:04:21 +00:00
68b529ebf5 ddl: replace OnJobUpdated callback with failpoint (#55091)
ref pingcap/tidb#54436
2024-08-01 04:34:26 +00:00
8c7abdee21 infoschema: fix foreign key building using schema cache V2 (#54959)
close pingcap/tidb#54909
2024-08-01 04:34:20 +00:00
41bb8f57c7 ddl: integrate fast create table into normal general DDL workflow (#55025)
ref pingcap/tidb#54436
2024-07-31 15:59:50 +00:00
05853ddd60 infoschema: adapt TableByName for query of memory table (#54918)
ref pingcap/tidb#50305
2024-07-31 11:07:20 +00:00
73e3425923 statistics: do not copy and paste the code for saving statistics (#55046)
ref pingcap/tidb#55043
2024-07-31 08:52:21 +00:00
e4948955a7 ddl: merge continuous key ranges in FLASHBACK CLUSTER job args (#54914)
close pingcap/tidb#54915
2024-07-31 05:17:48 +00:00
af9c839b16 executor: fix issue that update ignore stmt return error when meet incorrect timestamp value error (#54878)
close pingcap/tidb#50308
2024-07-30 12:50:49 +00:00
199bf90c2a executor: try to optimize index hash join query by reduce cop task count (#54841)
close pingcap/tidb#54840
2024-07-30 02:31:17 +00:00
273ca667ab *: remove limiting process id for auto analyze (#54902)
ref pingcap/tidb#53460
2024-07-29 16:01:18 +00:00
c5185cbdc5 executor: runWithSystemSession also copy snapshot status (#54989)
close pingcap/tidb#54964
2024-07-29 10:31:17 +00:00
Hu#
0dff610398 resource_control: support unlimited keyword when setting the resource group (#54704)
close pingcap/tidb#54413
2024-07-26 09:17:26 +00:00
0353655f3d executor: fix index_hash_join hang when context canceled (#54855)
close pingcap/tidb#54688
2024-07-26 04:40:35 +00:00
7e73ddc91b statistics: add metrics for unneeded analyze table (#54822)
close pingcap/tidb#54823
2024-07-26 01:36:06 +00:00
6c3e25ebfe *: avoid using Tables field of model.DBInfo, use API instead (#52302)
close pingcap/tidb#52234
2024-07-25 10:57:06 +00:00
628b7ed673 planner: deprecate index lookup merge join. (#54681)
close pingcap/tidb#54064
2024-07-25 07:48:05 +00:00
98b785872c pkg/parser: use clearer structures for RESOURCE GROUP ASTs (#54881)
ref pingcap/tidb#54434
2024-07-25 04:58:34 +00:00
f838cc89fe txn: fix the lock behaviours when for update is used when low resolution tso is used (#54738)
close pingcap/tidb#54684
2024-07-25 03:22:34 +00:00
6854e60698 session, config, sessionctx, executor: Set tidb_opt_projection_push_down to false when tidb upgrades from versions older than 8.3.0 to 8.3.0 and later (#54861)
ref pingcap/tidb#51876
2024-07-25 01:54:05 +00:00
8f98b4eba3 ddl: decouple executor part out from ddl (#54858)
ref pingcap/tidb#54436
2024-07-24 13:45:05 +00:00
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