Commit Graph

341 Commits

Author SHA1 Message Date
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
3388915388 planner: fix incorrect estCost displayed in explain results (#33675)
close pingcap/tidb#32672
2022-04-02 17:28:29 +08:00
c58e00549d executor: Enhance task field for explain/explain analyze (#33333)
close pingcap/tidb#33332
2022-03-29 10:14:27 +08:00
ca0ade0b24 expr: add function push down results comparing testcase (#33401)
close pingcap/tidb#33391
2022-03-25 11:18:33 +08:00
1287eab595 planner: outer merge join cannot keep the prop of its inner child (#33359)
close pingcap/tidb#33042
2022-03-24 11:44:34 +08:00
a43bfe4d7e expr: switch off left push down due to intergration test failed (#33302)
close pingcap/tidb#33255, ref pingcap/tidb#33256
2022-03-22 13:50:33 +08:00
47e4b5bf31 *: revert #27021 to fix a bug that selection can not be pushed down when having clause above aggregation (#33168)
close pingcap/tidb#33166
2022-03-17 10:43:53 +08:00
3393cf96a3 *: support mpp partition for tiflash (#31043)
close pingcap/tidb#32347
2022-03-15 18:35:52 +08:00
f0238dd286 planner: fix the wrong cost formula for MPP net cost (#32942)
close pingcap/tidb#30103
2022-03-14 15:39:52 +08:00
469bc71b0c parser, planner, executor: remove non-mpp broadcast Join (#31459)
close pingcap/tidb#31465
2022-03-11 00:41:50 +08:00
7cf784cf26 statistics: handle contants in Selectivity() (#32761)
ref pingcap/tidb#32758, close pingcap/tidb#32835
2022-03-06 23:41:48 +08:00
41c1cc98b0 planner: fix stream agg pushed down to mpp plan unexpectedly (#32752)
close pingcap/tidb#32632
2022-03-03 20:59:46 +08:00
6ba84eef8c expression: fine-grained precision infer for decimal arithmetic operator (#32401)
close pingcap/tidb#30961
2022-03-03 14:33:46 +08:00
fbfe36ca7d expression: support push bit column down to TiKV (#32497)
close pingcap/tidb#30738
2022-03-01 17:21:45 +08:00
047775fbc8 expression: fine-grained precision infer when casting const to Decimal (#32359)
ref pingcap/tidb#30961
2022-02-24 16:19:42 +08:00
a11ece9f88 planner/core: migrate test-infra to testify for integration_test.go (#32560)
Signed-off-by: tison <wander4096@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-02-24 00:00:19 +08:00
991132080f planner: don't decorrelate the APPLY when the inner's projection reference no column (#32370)
close pingcap/tidb#32089
2022-02-23 18:43:43 +08:00
94f821c102 expression: support push mod down to tikv (#31952)
ref pingcap/tidb#31846
2022-02-17 15:15:40 +08:00
c4d4b798c7 planner: fix unable to push down agg to tiflash when tidb_isolation_read_engines is set (#32336)
close pingcap/tidb#31240
2022-02-16 20:41:39 +08:00
bc267f5856 expression: support push down tikv supported functions (#32193)
ref pingcap/tidb#31846
2022-02-11 12:51:36 +08:00
7ceb73341e planner: Support (cartesian) (anti) left semi join push down to TiFlash (#31002)
close pingcap/tidb#32186
2022-02-11 12:31:36 +08:00
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
955b688e8b expression: support push down tikv supported functions (#31983)
ref pingcap/tidb#31846
2022-01-29 14:53:13 +08:00
756f5a3b78 expression: support push down right/left to TiKV (#31847)
ref pingcap/tidb#31846
2022-01-24 17:26:11 +08:00
2d522dd590 planner: Add MPPPartitionType PassThroughType to mark PassThrough Exchange. (#31766)
* fix

* add tests

* simple

* fix test

* rename collect to passthrough

* add more comments

* add more tests

* fix test

* add more tests

* rename

* try fix wtf check_dev

* add some comment

* make rh
2022-01-21 21:42:07 +08:00
0a3bcc689f planner: fix same index read plan but has different plan digest (#31560)
close pingcap/tidb#31438
2022-01-13 15:29:42 +08:00
375b71b501 stats: resolve the constant selectivity when handling DNF exprs (#31242)
close pingcap/tidb#31096
2022-01-07 18:28:38 +08:00
8c880d2251 expression, planner: skip isNullRejected check when contain outer not after PushDownNot (#31210)
close pingcap/tidb#20510
2021-12-31 14:37:51 +08:00
7f85091696 expression: pushdown substring/char_length to tikv (#30191)
close pingcap/tidb#31125
2021-12-31 00:07:50 +08:00
9b9a300485 expression: support lpad/rpad pushdown to tiflash (#31099)
* expression: support lpad/rpad pushdown to tiflash

Signed-off-by: guo-shaoge <shaoge1994@163.com>
2021-12-30 23:33:34 +08:00
dc9e75e009 executor: fix bug when correlated column is used in IndexMergeReader (#30982)
close pingcap/tidb#30913
2021-12-28 14:45:49 +08:00
807ca05230 sessionctx: enable IndexMerge by default (#30650)
close pingcap/tidb#29597
2021-12-27 12:19:49 +08:00
df58e6c36c execution: refine precision of cast as decimal in agg func (#30805) 2021-12-23 16:53:47 +08:00
7121bf0289 planner: fix index merge plan when expr cannot be pushed to tikv (#30341)
close pingcap/tidb#30200
2021-12-23 13:39:47 +08:00
9aa756336e executor: avoid sum from avg overflow (#30010) 2021-12-03 11:09:55 +08:00
a90344c5a3 planner: regard NULL as point when accessing composite index (#30244) 2021-12-01 10:15:34 +08:00
5f340b88c9 parser: format error message during parsing when meet a big value. (#28791) 2021-11-18 00:51:47 +08:00
4b295081ea Planner,MPP: check whether the order-by items can be pushed down to tiflash/tikv or not (#29763) 2021-11-15 15:37:07 +08:00