Commit Graph

286 Commits

Author SHA1 Message Date
da0de56204 expression: BuildContext read location from EvalContext instead of SessionVars (#52451)
ref pingcap/tidb#52366
2024-04-11 08:09:22 +00:00
66a6d4cf46 planner: refine mppTask as capital one for latter pkg move (#52491)
ref pingcap/tidb#52181
2024-04-11 07:00:30 +00:00
1997ff7943 planner: move physical opt and cost misc to util and split plan interface (#52224)
ref pingcap/tidb#52181
2024-04-10 13:45:22 +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
a2cb0e1126 planner: Column prune improvement for MPP Join and TableScan+Filter operators (#52143)
ref pingcap/tidb#52133
2024-04-10 06:43:51 +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
12833e8278 executor, planner: minimize the context used by the ranger package (#52363)
close pingcap/tidb#52362
2024-04-09 10:57:21 +00:00
df0452d898 planner: remove deadcode (#52446) 2024-04-09 10:18:21 +00:00
fab13afa2b expression: Move more methods from SessionVars to BuildContext (#52440)
ref pingcap/tidb#52366
2024-04-09 09:00:34 +00:00
da775f6184 planner: fix missing access conds when a partial path is dual path when query involves mv index (#52414)
close pingcap/tidb#52395
2024-04-09 08:18:29 +00:00
9b78a2388b planner: add newly created col for window projection (#52378)
close pingcap/tidb#42734
2024-04-09 07:30:21 +00:00
510f44f5c0 bindinfo,planner,statistics: add OWNERS files in top module folders (#46981)
close pingcap/tidb#46969
2024-04-09 06:40:51 +00:00
9bb3697349 statistics: upgrade stats timeout checkpoint after it timeouts (#52424)
close pingcap/tidb#52425
2024-04-09 04:34:57 +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
482ce59bf6 expression: separate BuildContext and EvalContext (#52311)
close pingcap/tidb#52310
2024-04-03 09:42:24 +00:00
7a20e4390d expression: minimize the PushDownContext (#52135)
close pingcap/tidb#52134
2024-04-02 10:54:18 +00:00
21e9d3cb40 planner, statistics: use the correct column ID when recording stats loading status (#52208)
close pingcap/tidb#52207
2024-04-02 08:54:17 +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
b1c0e36cdf *: fix oom in the infoSchema.TableByName (#52220)
close pingcap/tidb#52219
2024-03-29 03:45:49 +00:00
8d9e67b37d planner: Fix issue 52198, HandleColOffset was wrong. (#52210)
close pingcap/tidb#52198
2024-03-28 13:18:48 +00:00
927f3c61ee planner: move logical optimizing trace logic out of core pkg (#52161)
ref pingcap/tidb#51664
2024-03-28 12:09:48 +00:00
b96f08134d infoschema: fix panic for TableByID when table id is negative (#52016)
close pingcap/tidb#52012
2024-03-27 05:06:47 +00:00
39d1575e46 planner: refactor pattern dir output memo related logic (#52117)
ref pingcap/tidb#51664
2024-03-27 03:54:47 +00:00
bd17acde8c infoschema: introduce MetaOnlyInfoSchema to provide meta only information schema (#52070)
close pingcap/tidb#52072
2024-03-26 10:20:17 +00:00
240ddf828f planner: encapsulate task dir and move test related code to test file (#52083)
close pingcap/tidb#51664
2024-03-26 08:44:18 +00:00
34757954d9 planner: fix the issue that MVIndex leads to "can't find plan" error (#52067)
close pingcap/tidb#49438
2024-03-25 15:00:46 +00:00
40456f36fe *: make package sqlexec not depend on sessionctx anymore (#52031)
close pingcap/tidb#52029
2024-03-25 11:59:17 +00:00
a66a80ef23 planner: add simple serializing scheduler (#51866)
ref pingcap/tidb#51664
2024-03-25 11:15:46 +00:00
639fa0073f expression: finish to remove SessionVars and other complex objects from EvalContext (#52015)
close pingcap/tidb#51477
2024-03-25 10:24:47 +00:00
cc842e8187 planner: remove unnessary atomic variables (#52060) 2024-03-25 08:27:46 +00:00
b8b3b92707 planner: Comparing binary string with int caused issue in partition pruning (#52041)
close pingcap/tidb#52023
2024-03-25 03:05:16 +00:00
5fd22197f5 parser,planner: move some code into AST member function (#51979) 2024-03-21 07:56:14 +00:00
73328e5b60 planner: fix the incorrect judgment of correlated column in the having clause (#51849)
close pingcap/tidb#51107
2024-03-21 06:20:21 +00:00
da13c3f4ed ddl: Fix validation error for column default value (#51721)
close pingcap/tidb#51592
2024-03-21 06:20:14 +00:00
f676a1acec infoschema_v2: fix tests (#51934)
ref pingcap/tidb#50959
2024-03-20 12:45:43 +00:00
bdc64e572b *: Revert "add super privilege check for some admin commands (#51497)" (#51938)
close pingcap/tidb#51936
2024-03-20 08:32:34 +00:00
1b7a41d995 planner/core: fix some test cases when using infoschema v2 (#51937)
ref pingcap/tidb#50959
2024-03-20 08:32:27 +00:00
469cf047fa expression: add PushDownContext for push down operations (#51891)
close pingcap/tidb#51890
2024-03-20 08:32:13 +00:00
f4e366ea0c planner: apply rule_partition_pruning when optimizing CTE under static mode (#51903)
close pingcap/tidb#51873
2024-03-19 13:38:12 +00:00
af76c2ff1e planner: support OR list nested in AND list for mv index (#51716)
close pingcap/tidb#51778
2024-03-18 06:23:13 +00:00
e158c21d56 planner: fix the issue about simplify outer join to inner join (#51750)
close pingcap/tidb#51560
2024-03-16 11:09:41 +00:00
68c03cfb65 txn: enable pipelined dml by hint (#51770)
ref pingcap/tidb#50215
2024-03-15 08:59:11 +00:00
1139439f13 planner: Fix PointGet HandleColOffset (#51796)
close pingcap/tidb#51761, close pingcap/tidb#51797
2024-03-15 07:36:48 +00:00
Bin
685da08370 fix: modify signature (#51802) 2024-03-15 05:10:01 +00:00
6a76187f2d planner: code prepare for support OR list nested in AND list for mv index (#51780)
ref pingcap/tidb#51778
2024-03-14 17:11:11 +00:00
0ed511a84b planner, stats: reduce the persist memory usage of stats after startup (#47496)
close pingcap/tidb#46867
2024-03-14 14:09:41 +00:00
630651209d planner: output a warning instead of returning an error when creating fast binding on a incomplete hint (#51781)
ref pingcap/tidb#51347
2024-03-14 10:32:11 +00:00