|
|
28c934cdae
|
planner: finish todo in builtin_cast.go#L1945 (#36921)
close pingcap/tidb#36920
|
2022-08-09 16:16:47 +08:00 |
|
|
|
6a6fa8a882
|
ddl: Add sql_require_primary_key sysvar (#36146)
close pingcap/tidb#28544
|
2022-08-03 17:20:06 +08:00 |
|
|
|
1f6f7da778
|
planner: fix Merge hint for view (#36678)
close pingcap/tidb#36666
|
2022-08-01 12:42:05 +08:00 |
|
|
|
f459bb3a86
|
planner: avoid change the type of the input of sum/avg (#36372)
close pingcap/tidb#36371
|
2022-07-29 16:21:12 +08:00 |
|
|
|
11e9d8519d
|
planner: set/clear not null flag when create a new baseBuiltinFunc (#36518)
close pingcap/tidb#36517
|
2022-07-29 10:31:11 +08:00 |
|
|
|
61175e8a4d
|
expression: fix return type of agg func bit_or when handling varbinary column (#36415)
close pingcap/tidb#36400
|
2022-07-22 14:59:09 +08:00 |
|
|
|
0ccd9c1046
|
planner: Fixed Merge hint in nested CTE (#36432)
close pingcap/tidb#36373
|
2022-07-22 00:29:09 +08:00 |
|
|
|
a80aafc2be
|
planner: add more test cases for leading outer join (#36409)
ref pingcap/tidb#29932
|
2022-07-21 23:31:09 +08:00 |
|
|
|
c7cfebb234
|
planner: add binding and recursive test for Merge hint (#36352)
close pingcap/tidb#17472
|
2022-07-20 23:43:09 +08:00 |
|
|
|
8a91606f5b
|
planner: fix bug that skew distinct agg rule failed to generate plan (#36357)
close pingcap/tidb#36350
|
2022-07-20 19:47:08 +08:00 |
|
|
|
b54ea725ba
|
planner: add more test cases for outer join's leading hint (#36125)
ref pingcap/tidb#29932
|
2022-07-20 19:11:09 +08:00 |
|
|
|
a52656fde4
|
*: add binary plan in stmt summary and slow log/query (#35698)
close pingcap/tidb#35889
|
2022-07-20 18:21:09 +08:00 |
|
|
|
a57dd37640
|
planner: add a hint for CTE (#34574)
close pingcap/tidb#17472
|
2022-07-19 14:31:07 +08:00 |
|
|
|
d90cee5002
|
planner: push down top selection to TiFlash (#36256)
close pingcap/tidb#34192
|
2022-07-19 09:57:07 +08:00 |
|
|
|
8af8341cca
|
planner: Table scan in TiFlash not keep order (#36232)
close pingcap/tidb#36231
|
2022-07-19 00:51:07 +08:00 |
|
|
|
67be460efe
|
planner: enable the new cost interface by default (#36241)
ref pingcap/tidb#35240
|
2022-07-18 21:21:08 +08:00 |
|
|
|
4cade24ed6
|
*: support the binary plan through EXPLAIN format='binary' and tidb_decode_binary_plan (#36221)
ref pingcap/tidb#35889
|
2022-07-18 16:27:07 +08:00 |
|
|
|
c28bac3d72
|
planner: support rewrite for skew group distinct aggregate to avoid skew execution (#36181)
close pingcap/tidb#36169
|
2022-07-18 15:29:07 +08:00 |
|
|
|
7953d60c1b
|
*: switch to flat plan in stmt summary, slow log, etc (#36069)
ref pingcap/tidb#35888
|
2022-07-14 17:37:06 +08:00 |
|
|
|
b4cd14d713
|
planner: use SEMI_JOIN_REWRITE hint to rewrite the semi join (#35325)
close pingcap/tidb#35323
|
2022-07-14 15:49:05 +08:00 |
|
|
|
24eb419ca2
|
planner: handle the expected row count for pushed-down selection in mpp (#36195)
close pingcap/tidb#36194
|
2022-07-13 21:59:05 +08:00 |
|
|
|
3e8f382f6c
|
planner: decorrelate the APPLY when the inner's projection is empty (#36073)
close pingcap/tidb#35985
|
2022-07-13 13:35:05 +08:00 |
|
|
|
28bf364f1b
|
planner: introduce flat plan (#35994)
ref pingcap/tidb#35888, ref pingcap/tidb#35889
|
2022-07-09 13:55:02 +08:00 |
|
|
|
fb6f6a4fda
|
planner: add missing exchange between hash-partition window and single-partition window (#36025)
close pingcap/tidb#35990
|
2022-07-08 17:21:03 +08:00 |
|
|
|
cdde0398fe
|
sessionctx,kv,planner: add system variable for fine_grained_shuffle (#35256)
close pingcap/tidb#35342
|
2022-07-06 10:27:02 +08:00 |
|
|
|
7567f0772d
|
planner: fix limit in exists subquery will make TiDB plan not optimal (#35476)
close pingcap/tidb#34969
|
2022-06-30 10:50:38 +08:00 |
|
|
|
4538cf51ad
|
planner: support the leading hint for outer join (#35264)
ref pingcap/tidb#29932
|
2022-06-29 17:00:39 +08:00 |
|
|
|
3f8df8c389
|
Revert "planner: fix the wrong cost formula of MPPExchanger" (#35707)
ref pingcap/tidb#35240
|
2022-06-24 14:22:38 +08:00 |
|
|
|
d3b79de20b
|
planner: fix the wrong cost formula of MPPExchanger (#35438)
ref pingcap/tidb#35240
|
2022-06-17 13:26:35 +08:00 |
|
|
|
2ba2a9ef56
|
planner: Manual revert of #24282 (#35298)
ref pingcap/tidb#22079, closes pingcap/tidb#33966, close pingcap/tidb#35181
|
2022-06-14 23:48:33 +08:00 |
|
|
|
daa1691aa1
|
planner: revise push agg down across outer join (#34916)
* fix invalid count push down
Signed-off-by: yisaer <disxiaofei@163.com>
fix explaintest
Signed-off-by: yisaer <disxiaofei@163.com>
* add testcase
Signed-off-by: yisaer <disxiaofei@163.com>
* fix test
Signed-off-by: yisaer <disxiaofei@163.com>
* address the comment
Signed-off-by: yisaer <disxiaofei@163.com>
* address the comment
Signed-off-by: yisaer <disxiaofei@163.com>
* add testcase
Signed-off-by: yisaer <disxiaofei@163.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
|
2022-05-30 21:15:45 +08:00 |
|
|
|
b7c9fc4b0f
|
planner: fix bug that planner generates wrong 2 phase aggregate plan for TiFlash (#34779)
close pingcap/tidb#34682
|
2022-05-25 10:56:46 +08:00 |
|
|
|
2f4b11dc26
|
planner: disable the new cost implementation by default (#34810)
|
2022-05-19 16:01:16 +08:00 |
|
|
|
eb90d0df5c
|
planner: add more test cases for join order hint (#34740)
ref pingcap/tidb#29932
|
2022-05-19 14:42:38 +08:00 |
|
|
|
0aaadba7a7
|
expression: correct window function push down list. (#34793)
close pingcap/tidb#34794
|
2022-05-19 02:16:38 +08:00 |
|
|
|
e2557396f6
|
planner: support leading hint in join reorder optimization (#34570)
ref pingcap/tidb#29932
|
2022-05-17 10:26:37 +08:00 |
|
|
|
683ba092b5
|
planner: enable the new cost implementation by default (#34567)
close pingcap/tidb#33945
|
2022-05-17 00:02:38 +08:00 |
|
|
|
1c6dcf0913
|
planner: support push window function down to tiflash (#31601)
Issue Number: close #33072
|
2022-05-13 14:12:28 +08:00 |
|
|
|
12ee8f2cc8
|
planner: add more test cases for the new cost implementation (#34575)
ref pingcap/tidb#33945
|
2022-05-12 17:44:35 +08:00 |
|
|
|
a5d91dc895
|
planner: support straight join order hint (#34339)
ref pingcap/tidb#29932
|
2022-05-11 10:50:34 +08:00 |
|
|
|
199eb8e6c1
|
core: support left join and right join for join reorder (#23149)
close pingcap/tidb#19940
|
2022-05-10 23:24:35 +08:00 |
|
|
|
53a3923358
|
planner: add more rand-gen test cases for the new cost implementation (#34486)
ref pingcap/tidb#33945
|
2022-05-10 11:16:34 +08:00 |
|
|
|
cf5ad49561
|
planner: add enforce-mpp test cases for the new cost implementation (#34446)
ref pingcap/tidb#33945
|
2022-05-07 15:48:32 +08:00 |
|
|
|
1af12c2345
|
planner: refactor the cost implementation for TiFlash plans (#34338)
|
2022-05-07 14:08:08 +08:00 |
|
|
|
0fbdb6c81c
|
planner: refactor the cost implementation for PointGet/BatchGet (#34300)
ref pingcap/tidb#33945
|
2022-04-28 19:50:52 +08:00 |
|
|
|
d22cd59da4
|
planner: refactor the cost implementation for Aggs (#34227)
|
2022-04-27 20:12:39 +08:00 |
|
|
|
99b871e20d
|
planner: add projection pushdown (#27029)
close pingcap/tidb#26242
|
2022-04-22 11:06:05 +08:00 |
|
|
|
a523089d4a
|
planner: consider seek cost of probe-side for index join (#33867)
close pingcap/tidb#32362
|
2022-04-18 19:06:03 +08:00 |
|
|
|
f5c2710cd4
|
planner: fix wrong row-sizes used in cost model (#33845)
close pingcap/tidb#33844
|
2022-04-13 14:02:36 +08:00 |
|
|
|
23e24d2fc8
|
planner: refactor net seek cost calculation for IndexScan and TableScan (#33717)
close pingcap/tidb#33727
|
2022-04-08 22:16:32 +08:00 |
|