|
|
2a522358ce
|
planner,expression: remove duplicates in the ExtractColumnsFromExpressions (#62791)
ref pingcap/tidb#45839
|
2025-08-04 13:00:27 +00:00 |
|
|
|
a64de14f10
|
planner: constant propagation can deal with anti semi join (#62539)
close pingcap/tidb#62536
|
2025-08-01 10:52:15 +00:00 |
|
|
|
4097c48e52
|
Cascades Planner: correct plan generation logic for PartitionUnionAll for limit in cascades mode (#62765)
ref pingcap/tidb#62328, close pingcap/tidb#62764
|
2025-08-01 08:22:56 +00:00 |
|
|
|
c35d9ef385
|
planner: fix the issue of inconsistent judgment of const false. (#62723)
close pingcap/tidb#62663
|
2025-07-31 13:15:19 +00:00 |
|
|
|
89fccd79d0
|
planner: remove "SHOW PLAN FOR <SQL>" syntax (#62509)
ref pingcap/tidb#60148
|
2025-07-25 03:28:58 +00:00 |
|
|
|
d0ac8e6151
|
planner: right deal with predicate in the join reorder (#62561)
close pingcap/tidb#61715
|
2025-07-24 05:48:16 +00:00 |
|
|
|
a16aedeb9f
|
planner: fix expand operator shouldn't keep child keys && fix grouping function forget to encode their func meta (#62558)
close pingcap/tidb#62551
|
2025-07-23 14:42:14 +00:00 |
|
|
|
5ae6ad63c2
|
session: rename and unify location of interfaces, and some refactor (#62498)
ref pingcap/tidb#61702
|
2025-07-22 07:43:38 +00:00 |
|
|
|
7d2cd17ca8
|
planner: move physical memory table into physical op dir (#62500)
ref pingcap/tidb#52714
|
2025-07-18 17:44:43 +00:00 |
|
|
|
771012e6f3
|
planner: constant propagation supports more join type in the logical plan builder (#61909)
close pingcap/tidb#51700
|
2025-07-18 10:27:49 +00:00 |
|
|
|
d6e8bd7853
|
planner: correct plan generation logic for PartitionUnionAll in Cascades framework (#62474)
ref pingcap/tidb#62328, close pingcap/tidb#62472
|
2025-07-18 04:26:03 +00:00 |
|
|
|
2b4469a6bd
|
planner: add error as return value for predicate-push-down (#62258)
ref pingcap/tidb#61185
|
2025-07-15 03:20:12 +00:00 |
|
|
|
6b7a0ed5b6
|
planner: use prop based noCopPushDown mechanism to replace aggregation field. (#62249)
ref pingcap/tidb#62006
|
2025-07-08 03:18:48 +00:00 |
|
|
|
b475e1213b
|
planner: apply predicate simplification before extract condition (#62211)
close pingcap/tidb#62212
|
2025-07-07 10:20:33 +00:00 |
|
|
|
ee9f2305ba
|
planner: deprecate the logical interface CanPushToCop and its implementation canPushToCopImpl. (#62235)
ref pingcap/tidb#62006
|
2025-07-07 07:15:27 +00:00 |
|
|
|
5968f818bf
|
planner: lift the canPushToCop check of logical join/window/selection (#62206)
ref pingcap/tidb#62006
|
2025-07-07 02:39:57 +00:00 |
|
|
|
1a3bb653a6
|
planner: remove the selection above the table dual (#62193)
close pingcap/tidb#62192
|
2025-07-04 06:13:06 +00:00 |
|
|
|
0bf7afe5cd
|
planner: constant folding to isnull(not null column) (#62046)
ref pingcap/tidb#7973, close pingcap/tidb#62050
|
2025-07-01 15:58:27 +00:00 |
|
|
|
7faab25597
|
Planner: allow elimination of aggregation functions in join operations (#61877)
ref pingcap/tidb#61556
|
2025-07-01 08:52:15 +00:00 |
|
|
|
c5c3793e7e
|
planner: predicate simplification when to push down predicate with LogicalSelection (#61739)
close pingcap/tidb#61489
|
2025-07-01 04:08:06 +00:00 |
|
|
|
b3fbdc6e9c
|
planner: lift can-push-to-cop check of expand/unionall/sort. (#62005)
ref pingcap/tidb#62006
|
2025-06-28 08:46:33 +00:00 |
|
|
|
0870187da4
|
planner: try removing parent operator type assert in implementation of CanPushToCop check (#61879)
ref pingcap/tidb#51664
|
2025-06-25 04:34:39 +00:00 |
|
|
|
c597cb5e0a
|
expression,planner: reuse the PropConstSolver to improve performance (#61838)
close pingcap/tidb#61837
|
2025-06-20 07:35:06 +00:00 |
|
|
|
e4df3b0671
|
planner: use logical rule to eliminate the dual child item in unionAll and clean code in physical phase. (#61703)
ref pingcap/tidb#51664
|
2025-06-19 09:47:51 +00:00 |
|
|
|
35c1e21115
|
planner,expression: fix wrong copy args to avoid breaking origin expression when to EvaluateExprWithNull (#61630)
close pingcap/tidb#60625
|
2025-06-13 10:59:49 +00:00 |
|
|
|
dd6b652cde
|
planner: Improve predicate simplification in logicalAnd (#61571)
close pingcap/tidb#61574
|
2025-06-10 09:47:37 +00:00 |
|
|
|
9f38fcae00
|
planner,executor: improve the convenience of functions (#61546)
ref pingcap/tidb#36764
|
2025-06-06 08:57:06 +00:00 |
|
|
|
842c88bf7c
|
planner: predicate simplification when to push down predicate with join (#61316)
close pingcap/tidb#45785
|
2025-05-27 10:45:22 +00:00 |
|
|
|
998279fef1
|
planner: index join banned the enforced sort from stream agg, which is not supported in executor layer now. (#61324)
close pingcap/tidb#61323
|
2025-05-27 05:40:58 +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 |
|
|
|
9cc4672d69
|
planner: gopls modernize (#60781)
close pingcap/tidb#60780
|
2025-05-19 16:17:43 +00:00 |
|
|
|
15c9cb797a
|
planner: fix wrong TopN's ByItem with expression.ScalarFunction when to PushDownTopN (#60822)
close pingcap/tidb#60655
|
2025-05-07 17:23:49 +00:00 |
|
|
|
55a1fa25b3
|
planner: add back children's Schema when checking LogicalJoin's used columns in column pruning (#60694)
close pingcap/tidb#60692
|
2025-04-23 07:54:56 +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 |
|
|
|
d5485ee5bb
|
planner: modernize some package (#60406)
ref pingcap/tidb#60323
|
2025-04-11 02:41:12 +00:00 |
|
|
|
3c4edac011
|
planner: add enumeration of simple index join and complete it with indexJoinInfo built bottom-up (#60383)
ref pingcap/tidb#60106
|
2025-04-08 10:31:13 +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 |
|
|
|
9a024100b7
|
planner: implement "SHOW PLAN FOR <SQL>" for SPM (#60238)
ref pingcap/tidb#60148
|
2025-03-26 04:45:31 +00:00 |
|
|
|
686fee8e58
|
planner: add ds allAccessPaths to keep the original derived paths from tableInfo. (#59928)
ref pingcap/tidb#51664
|
2025-03-12 10:46:33 +00:00 |
|
|
|
fd7f07f5f2
|
planner: remove duplicate offset when push down pure limit down across outer join (#59927)
close pingcap/tidb#59926
|
2025-03-06 21:23:44 +00:00 |
|
|
|
da3b01540c
|
planner: simplify the apply's extract FD logic facilitating the memo case. (#59882)
ref pingcap/tidb#51664
|
2025-03-05 07:38:46 +00:00 |
|
|
|
c8e1979e75
|
planner: gen shallow ref of logical aggregation and sort & move some func to util to avoid import cycle (#59774)
ref pingcap/tidb#51664
|
2025-02-26 07:46:24 +00:00 |
|
|
|
d20f300ffa
|
planner: add decorrelate-apply test & add support for move out intermediary GE from memo. (#59171)
ref pingcap/tidb#51664
|
2025-02-20 09:36:35 +00:00 |
|
|
|
4aeb3133c0
|
planner: move function GetDupAgnosticAggCols to logicalop. (#59597)
ref pingcap/tidb#51664
|
2025-02-18 08:08:10 +00:00 |
|
|
|
9eabc90838
|
planner: gen shallow ref usage of logical projection. (#59578)
ref pingcap/tidb#51664
|
2025-02-17 07:13:51 +00:00 |
|
|
|
beda9088bc
|
planner: avoid skipping plan cache when extracting funcdep (#59485)
ref pingcap/tidb#38610
|
2025-02-13 06:13:58 +00:00 |
|
|
|
ed9b7d5771
|
planner: fix planner can't error for union-all query when new-only-full-group-check is enabled (#59212)
close pingcap/tidb#59211
|
2025-02-12 14:43:12 +00:00 |
|
|
|
fa0bc8e5bc
|
planner: change more conditions that are always false to dual (#59199)
close pingcap/tidb#51446
|
2025-02-07 11:21:34 +00:00 |
|
|
|
c329b22a52
|
planner: make code more debug friendly (#59216)
ref pingcap/tidb#54401
|
2025-01-27 09:04:35 +00:00 |
|
|
|
77d35b9f0f
|
planner: export the shallow ref function and fix some function name. (#59169)
ref pingcap/tidb#51664
|
2025-01-24 10:06:47 +00:00 |
|