Commit Graph

310 Commits

Author SHA1 Message Date
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
82f2bccf03 planner: eliminate empty projection below aggregation (#29606) 2021-11-10 11:55:05 +08:00
f77189b973 planner, MPP: fix two bugs about group by duplicated and sort by exprs (#29363) 2021-11-04 11:41:01 +08:00
a18977a93b expression: fix a bug caused by cast function signature wrong in aggregation push down (#28805) 2021-11-01 10:46:51 +08:00
5e7a871c3d planner: refine warnings about can't push down to TiFlash. (#29285) 2021-11-01 00:02:50 +08:00
0ee40992c7 expression: support pushdown duration to tiflash (#28914) 2021-10-30 00:54:51 +08:00
4b4984e6cc planner: remove duplicate predicates in the Selection operator (#28317) 2021-10-28 15:18:49 +08:00
04e661095c planner, statistics, sessionctx: add variable to enable/disable the outdated statistics to pseudo logic (#28554) 2021-10-28 11:28:48 +08:00
0cc7b99a89 planner: reject non-top sort for MPP (#28924) 2021-10-27 13:30:48 +08:00
36d0b4067d expression: not push invalid cast to tiflash (#28458) 2021-10-08 15:33:23 +08:00
a18e05d2f7 expression: limit valid decimal length (#28466) 2021-10-08 14:49:23 +08:00
d1a3279b73 planner: fix can not found column bug (#28067) 2021-09-17 15:24:42 +08:00
ceaf670477 planner: fix the index-out-of-range panic when pruning list-partition with condition is null (#27730) 2021-09-07 17:38:57 +08:00
afca7649fa planner: refine prefer-range-scan behavior (#27123) 2021-09-02 12:06:14 +08:00
f50dd1f24c expression: Push down group concat to TiFlash (#24778) 2021-08-30 15:44:12 +08:00
8dcebd1239 planner, expression: avoid exprs with side effects in column pruning and agg pushdown (#27370) 2021-08-27 16:46:05 +08:00
9e248d9420 planner: correctly set StatsVersion of tablePlan in copTask (#27161) 2021-08-25 18:06:04 +08:00
c5689a1d3f planner: fix row count estimation for partially pushed down selections (#25715) 2021-08-18 14:17:59 +08:00
84a8b0f6ee planner: don't extract hash keys from index join's OtherConds if inl_merge_join hint exists (#24994) 2021-08-18 11:28:00 +08:00
b7860acc9f planner: avoid unnecessary cartesian product for IN expressions on multi-columns (#24793) 2021-08-17 15:46:00 +08:00
1c6c548334 planner: add missing column for Apply convert to Join (#27246) 2021-08-17 11:49:59 +08:00
09ebd0d703 planner: fix wrong selection push down when having above agg (#27021) 2021-08-16 20:29:59 +08:00
f7917916ed expression: do not derive filters containing null sensitive functions from outer join (#27067) 2021-08-13 14:49:22 +08:00
0e48cb22a9 planner: prune hash partition should consider unsigned flag (#27098) 2021-08-12 19:59:16 +08:00
0b6b13500d planner: add test for heuristic index selection (#26917) 2021-08-11 20:37:16 +08:00
5a6c93ff5c planner: add more test cases for list column partition (#27081) 2021-08-11 10:47:15 +08:00
8a67e535a9 planner: add more test cases for list partition (#27023) 2021-08-09 16:29:14 +08:00
312ec6cf47 planner: output skyline pruning information when executing EXPLAIN (#26748) 2021-08-06 19:57:14 +08:00
4d9473a6c6 expression: Add missing pbcode for functions InetAton/InetNtoa/Inet6Aton/Inet6Ntoa/IsIPv4/IsIPv4Compat/IsIPv4Mapped/IsIPv6. (#26939) 2021-08-06 16:11:13 +08:00
bc625e9379 planner: add heuristic rules for index selection (#26304) 2021-08-04 20:09:07 +08:00
e548c42ccb planner: support Hash exchange operator when new collation is enabled. (#26789) 2021-08-04 10:39:06 +08:00
cb65b7a2f7 statistics: improve out-of-range estimation strategy (#26502) 2021-08-02 17:43:08 +08:00