Commit Graph

138 Commits

Author SHA1 Message Date
ebb4febfc5 parse: impl cancel distribution job sql (#60726)
close pingcap/tidb#60725
2025-05-26 03:52:34 +00:00
51659f3553 *: remove StatementContext from CommonHandleCols to fix a bug caused by shallow clone in plan cache (#61182)
close pingcap/tidb#61118
2025-05-21 07:31:10 +00:00
34afcbb9d3 executor: gopls modernize (#60787)
close pingcap/tidb#60786
2025-05-07 14:32:26 +00:00
ee95b9bcdc executor: support new sql syntax show distribution jobs and distribute table t1 (#60169)
close pingcap/tidb#60063
2025-04-18 04:55:21 +00:00
867f8edfa9 executor: split main building process of hash join V1/2 out based on childExec (#60486)
ref pingcap/tidb#60106
2025-04-11 04:57:11 +00:00
df15b5dd03 infoschema: introduce memtable: KEYSPACE_META to fetch the metadata the current keyspace (#53624)
close pingcap/tidb#53623
2025-04-10 10:29:48 +00:00
61c09e601e build(deps): bump github.com/golangci/golangci-lint from 1.63.4 to 1.64.7 (#60029) 2025-04-03 07:44:54 +00:00
be7ebdb004 executor: Refact pointGetExecutor init function to ensure member fields are correctly reset (#60337)
close pingcap/tidb#57528
2025-04-01 11:40:49 +00:00
7f6df324e0 *: generalize columnar for DDL (#60244)
ref pingcap/tidb#59880
2025-03-26 08:52:25 +00:00
9a024100b7 planner: implement "SHOW PLAN FOR <SQL>" for SPM (#60238)
ref pingcap/tidb#60148
2025-03-26 04:45:31 +00:00
89cab6ace1 Planner: Run full partition pruning if convertToPointGet converted keys to SortKey (#59918)
close pingcap/tidb#59827
2025-03-12 01:56:03 +00:00
9fed88cc10 *: generalize some vector index logic to columnar index (#59881)
ref pingcap/tidb#59880
2025-03-07 04:21:33 +00:00
80109597b0 executor: modify some hash join stats (#59668)
close pingcap/tidb#59667
2025-02-26 09:41:09 +00:00
3f74266203 planner: add iter for HandleCols (#59160) 2025-01-24 08:01:59 +00:00
cf4d252af8 *: split definition out of variable pkg and refactor some reorg methods (#59146)
ref pingcap/tidb#57229, ref pingcap/tidb#57497
2025-01-23 09:24:44 +00:00
2e377f4c49 executor, indexusage: don't load stats for point get index usage reporter (#58478)
close pingcap/tidb#58477
2025-01-21 06:56:59 +00:00
78fabc6b7b executor: fix a bug that global temporary table send cop request (#58882)
close pingcap/tidb#58875
2025-01-14 05:30:43 +00:00
b2f2faaa95 parser: move 'model' to 'ast' pkg (#58704)
ref pingcap/tidb#54436
2025-01-07 10:20:04 +00:00
911d5a1cd8 planner, executor: support inline projection for TopN (#58500)
ref pingcap/tidb#54245
2025-01-06 04:25:58 +00:00
xhe
8a33068d92 workloadrepo: add admin create workload snapshot stmt (#58250)
close pingcap/tidb#58248
2025-01-02 17:47:45 +00:00
652cee2f0b planner: support hash v2 variable to control the join order (#58546)
close pingcap/tidb#58325
2024-12-27 10:57:19 +00:00
d24ee4f722 planner, executor: support show traffic jobs (#58322)
close pingcap/tidb#58319
2024-12-18 09:55:15 +00:00
53cecc1e2d executor, planner: send traffic requests to tiproxy (#58006)
close pingcap/tidb#58005
2024-12-09 04:34:15 +00:00
8c888234ff stmtsummary: implement tidb_statements_stats, a cumulative version of statements_summary (#57155)
ref pingcap/tidb#57147
2024-12-06 06:33:38 +00:00
37a1f42e7d executor,distsql,util: distinguish walltime from sum of walltime in execution info (#57507)
close pingcap/tidb#56746
2024-11-28 08:27:35 +00:00
fb7e32faf4 planner: provide a system view cluster_tidb_plan_cache to allow users to see the cluster's Plan Cache Info (#57781)
ref pingcap/tidb#54057
2024-11-28 07:25:35 +00:00
0374ae26b9 planner: provide a system view information_schema.tidb_plan_cache to allow users to see info in the cache (#57699)
ref pingcap/tidb#54057
2024-11-27 03:16:47 +00:00
b37a837db7 infoschema: Move status and variables to P_S (#56569)
close pingcap/tidb#9154
2024-11-18 09:08:53 +00:00
afacd100e8 ddl: support modify the related reorg config by SQL (#57336)
ref pingcap/tidb#57229
2024-11-15 04:58:23 +00:00
65281ad307 *: make chunk.SwapColumn private (#57274)
close pingcap/tidb#55885
2024-11-13 06:11:23 +00:00
304732848c planner: fix the problem of not finding the referenced column in the virtual column (#57084)
close pingcap/tidb#57079
2024-11-11 09:09:44 +00:00
2de388bebc executor: ignore foreign key error in UPDATE/INSERT/DELETE ignore (#56682)
close pingcap/tidb#39712, close pingcap/tidb#56678, close pingcap/tidb#56681
2024-10-28 09:31:24 +00:00
f8a75b0bb9 executor: fix hash join v2 bug that mistakenly think the join has other condition (#56834)
close pingcap/tidb#56825
2024-10-25 08:47:54 +00:00
ffcfb5e08a linter, executor: fix the constructor linter and add it to BaseExecutor/BaseExecutorV2 (#56485)
close pingcap/tidb#56484
2024-10-10 03:13:00 +00:00
6e8f27f9ce *: support the vector index (#56409)
close pingcap/tidb#55693
2024-09-30 03:06:28 +00:00
59a8acb9bf planner: support using with <opt>=<val> to set options when running index advisor (#56307)
ref pingcap/tidb#12303
2024-09-25 18:41:21 +00:00
ae95f2fb00 bulider: hash join v2 handle correlated column in other conditions (#56252)
close pingcap/tidb#56214
2024-09-24 10:35:17 +00:00
ad68216538 executor: Add session variable for hash join v2 (#56023)
ref pingcap/tidb#53127
2024-09-24 00:10:45 +00:00
67bee7c513 * : Remove binlog related codes (#55955)
close pingcap/tidb#55949
2024-09-20 04:11:57 +00:00
e5aad0260c *: apply prefiltering before json.Unmarshal for information_schema.ddl_jobs table (#55748)
ref pingcap/tidb#55725
2024-09-10 12:03:47 +00:00
822bf99e78 planner: support new syntax for Index Advisor (#55947)
ref pingcap/tidb#12303
2024-09-10 01:01:45 +00:00
edf100118d executor: record index usage for the clustered primary keys (#55602)
close pingcap/tidb#55601
2024-09-05 05:12:57 +00:00
3176b9c263 *: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
2024-09-04 04:49:45 +00:00
2bd566026a planner: remove old useless unfinished index advisor implementation (#55810)
ref pingcap/tidb#12303
2024-09-04 01:44:52 +00:00
4c23efb10b *: move annotated attributes of AST node to resolve.Context (#55634)
ref pingcap/tidb#54436
2024-08-29 13:39:01 +00:00
559f634f63 planner/core: pushdown TiFlash store type check to ColumnToProto (#55463)
close pingcap/tidb#55462
2024-08-19 14:01:42 +00:00
cfcd1641fd *: update extractor for tidb_index_usage and columns table (#55263)
ref pingcap/tidb#50305
2024-08-14 07:51:08 +00:00
1f40cb0bc2 *: support batch create/drop bindings from plan/sql digest (#55315)
close pingcap/tidb#55343
2024-08-12 19:52:31 +00:00
2abd334934 planner: move logical join and logical selection to logicalop (#55272)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-12 05:42:01 +00:00
876268f619 *: add ctx parameter to infoschema TableByID (#55329)
ref pingcap/tidb#50959
2024-08-09 10:42:47 +00:00