Commit Graph

305 Commits

Author SHA1 Message Date
d7f9027af2 planner: move logical datasource, table-scan, index-scan, tikv-gather to logicalop pkg (#56291)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-09-26 12:13:00 +00:00
7b6209df99 meta: introduce metabuild.Context to build meta (#56176)
close pingcap/tidb#56175
2024-09-26 00:21:37 +00:00
84016f9f9a planner: support to prune column for simple table's DELETE (#56077)
ref pingcap/tidb#38911
2024-09-25 19:48:28 +00:00
9129323378 *: Deprecate tidb_enable_table_partition and always set to ON (#56190)
close pingcap/tidb#56189
2024-09-25 12:29:34 +00:00
75d9830bd2 *: AnalyzeV2 supports processing special global indexes (#56115)
close pingcap/tidb#54233
2024-09-25 06:34:50 +00:00
2ef0a36f71 *: Removed tidb_enable_list_partition (#42846)
close pingcap/tidb#42842
2024-09-25 00:24:19 +00:00
Hu#
19caf52fad runaway: Add processed_keys and request_ru to check (#55147)
ref pingcap/tidb#54434
2024-09-24 07:31:41 +00:00
8106d9304a planner: add a new sys table to store index advisor results and a new table to store kernel options (#56188)
ref pingcap/tidb#12303
2024-09-23 17:29:17 +00:00
fd41e605f7 planner, util/ranger: recognize the best matching index stats more accurately for OR list in Selectivity() (#56001)
close pingcap/tidb#54323
2024-09-23 17:29:07 +00:00
7202c3825b executor: fix the fail of triggering topn fallback action (#56187)
close pingcap/tidb#56185
2024-09-23 10:43:00 +00:00
5ead7e9a48 *: Remove tidb-binlog related code (#56183)
ref pingcap/tidb#55949
2024-09-20 11:13:23 +00:00
6b44ed4541 planner: support loading queries from statement_summary to run Index Advisor (#56160)
ref pingcap/tidb#12303
2024-09-20 05:02:08 +00:00
68fdf55d94 *: rename some packages of context (#56108)
close pingcap/tidb#56107
2024-09-19 07:11:03 +00:00
70a26f8530 planner: fix unique key get wrong row count when to query the NULL value (#56117)
close pingcap/tidb#56116
2024-09-19 04:11:30 +00:00
a21d9ea447 *: Change cpu usages related representation format (#56044)
ref pingcap/tidb#55542
2024-09-14 10:58:50 +00:00
1e6cec8b44 *: let planner decide the col refs for non-partition and non-foreignkey table's delete (#54065)
ref pingcap/tidb#38911
2024-09-13 13:28:54 +00:00
tpp
d2656d2e9d planner: preference range scan for pseudo (#55633)
close pingcap/tidb#55632
2024-09-10 16:56:26 +00:00
c8732f72b2 TopSQL: add table id in resource tag (#55555)
ref pingcap/tidb#55540
2024-09-10 07:14:48 +00:00
b5ec2e33a3 *: update rules_go 0.50.1 (#55933) 2024-09-09 09:48:31 +00:00
fef43c5639 *: Add tidbCPU/tikvCPU into system tables (#55455)
close pingcap/tidb#55542
2024-09-05 07:42:28 +00:00
edbec22e2f ddl: use static contexts in NewReorgCopContext (#55823)
ref pingcap/tidb#53388
2024-09-05 06:03:28 +00:00
e77d4a1cb8 expression: StaticExprContext/EvalContext support to load state from system variables (#55800)
close pingcap/tidb#55799
2024-09-04 15:20:48 +00:00
e00454a7b9 planner: move index advisor into the kernel (#55820)
ref pingcap/tidb#12303
2024-09-04 10:32:16 +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
Hu#
1256bbea23 *: Refactor runaway related code (#55202)
ref pingcap/tidb#54434
2024-09-03 05:38:29 +00:00
df02db014a context: add tests to avoid making mistakes by adding new fields but not modifying IntoStatic. (#55311)
close pingcap/tidb#55130
2024-09-02 09:20:48 +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
f5fff6cff9 planner: introduce hashEqual interface for datum. (#55727)
ref pingcap/tidb#51664
2024-08-29 09:11:21 +00:00
ris
51ffa22365 br: redact ak/sk in logging (#55622)
close pingcap/tidb#55273
2024-08-28 04:28:46 +00:00
48989e726f *: Vector Data types and Functions (#55550)
ref pingcap/tidb#54245
2024-08-22 07:01:51 +00:00
63b43e1007 util: fix data race in sqlkiller (#55581)
close pingcap/tidb#55467
2024-08-22 06:15:20 +00:00
adc7597a35 *: replace maps.Copy which is for map clone with std maps.Clone (#55530)
close pingcap/tidb#55527
2024-08-20 11:19:49 +00:00
ed9aa18e4c br: clean codes -- simplify the CreateTable stage (#55274)
ref pingcap/tidb#52877
2024-08-20 08:07:41 +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
336d3a30f1 ranger: should replace ast.Or with ast.LogicalOr (#55476)
close pingcap/tidb#55475
2024-08-16 11:38:47 +00:00
afd7b979e5 domain/rg: organize and enhance the code of RunawayChecker (#55331)
ref pingcap/tidb#54434
2024-08-14 10:07:38 +00:00
9a7e5cc2f7 planner: incorrect query result using ISNULL in the nested expressions (#55306)
close pingcap/tidb#55299
2024-08-13 03:36:09 +00:00
29d52a7bff meta, util: skip unmarshal unneeded JSON fields (#55304)
ref pingcap/tidb#55324
2024-08-13 03:36:02 +00:00
2fb61a5eb2 *: Require GLOBAL IndexOption for creating Global Index (#55264)
close pingcap/tidb#52994
2024-08-12 12: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
Hu#
d6dda3d3b7 runaway: add runaway tidb-side time checker (#54987)
close pingcap/tidb#51325
2024-08-12 04:03:01 +00:00
876268f619 *: add ctx parameter to infoschema TableByID (#55329)
ref pingcap/tidb#50959
2024-08-09 10:42:47 +00:00
395c6e786f planner: incorrect query result using ISNULL (#54819)
close pingcap/tidb#54803
2024-08-07 07:26:11 +00:00
5aad7df941 *: use a unified session pool definition AMAP (#55170)
ref pingcap/tidb#54434
2024-08-05 12:23:08 +00:00
8b787f7aa5 planner: use code-gen to generate CloneForPlanCache method for IndexJoin/IndexHashJoin (#55157)
ref pingcap/tidb#54057
2024-08-02 09:35:52 +00:00
801d5d6829 planner: fix column evaluator can not detect input's column-ref and thus swapping and destroying later column ref projection logic (#53794)
close pingcap/tidb#53713
2024-08-02 06:04:20 +00:00
f85273b0b6 executor: fix correctness of hash join v2 when there are multiple var-length keys (#55080)
close pingcap/tidb#55016
2024-08-02 04:37:21 +00:00
94d8c123ef planner: simplify the indexJoinBuildHelper structure (#55150)
ref pingcap/tidb#54057
2024-08-02 03:56:51 +00:00
b0aced836a util: Resolve RuntimeStatsColl potential unlock mutex (#55118)
close pingcap/tidb#55042
2024-08-01 10:55: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