Commit Graph

295 Commits

Author SHA1 Message Date
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
fdd6663d30 planner: add more test cases for list partitioning (#26729) 2021-08-02 15:45:06 +08:00
7f2843803a planner: improve skyline pruning (#26271) 2021-08-02 14:17:06 +08:00
e0dbe7ae8a planner: push TopN down when N is less than a specific variable (#26550) 2021-07-27 16:38:16 +08:00
e116573fbb expression: push down mod() to TiFlash (#26494) 2021-07-27 12:50:15 +08:00
a4146033fb planner: report warning when mpp join can't be selected whether it is MPPTask. (#26487) 2021-07-23 17:52:14 +08:00
70493cdf4d planner: refine the control logic of broadcast join (#26347) 2021-07-23 17:30:14 +08:00
1c088522c8 planner: fix the unstable test TestOrderedResultModeOnOtherOperators (#26481) 2021-07-23 10:48:14 +08:00
0bf495d5e8 planner: unify the terms NDV and cardinality in the optimizer (#26345) 2021-07-20 11:59:35 +08:00
60b600ef1a planner/core: always add projection to agg that is pushed to tiflash (#26263) 2021-07-15 16:05:32 +08:00
76c5fd0e26 planner: add warnings about joins when tidb_enforce_mpp is enabled. (#26246) 2021-07-15 15:31:32 +08:00
0db5df550b planner: rename stable-result-mode to ordered-result-mode (#26093) 2021-07-12 16:01:32 +08:00
c24a90f9e7 planner: support stable result mode (#25971) 2021-07-06 15:11:29 +08:00
008d5e3fd2 parser, core: Implement force_index hint in parser and TiDB (#23836) 2021-07-01 17:39:26 +08:00
3ad894da97 planner/core: thoroughly push down count-distinct agg in the MPP mode. (#25662) 2021-06-30 14:55:26 +08:00
27489d43b4 planner: Log warnings when agg function can not be pushdown in explain statement (#25553) 2021-06-24 15:21:23 +08:00