Commit Graph

119 Commits

Author SHA1 Message Date
89394e4724 *: fix binding doesn't work for CTE (#25308) 2021-06-10 17:00:30 +08:00
50b6da0f89 executor: add limit implementation for CTEExec (#24870) 2021-06-03 16:26:27 +08:00
b4f3ea6f6b cmd: add tests for CTE (#24907) 2021-06-02 15:07:37 +08:00
5d7c852770 planner: keep the original join schema in predicate pushdown (#24862) 2021-06-01 16:55:37 +08:00
a80047c604 CTE: support explain CTE plan (#24986) 2021-05-31 19:03:36 +08:00
23ce65724a planner: rewrite LIKE as range for expression index (#24250) 2021-05-24 17:25:33 +08:00
75a031af4a expression: check NotNullFlag of columns when simplifying binary operations (#24049) 2021-04-15 23:03:53 +08:00
f97496d0fc expression: Implementation of Vitess hashing algorithm. (#23493) 2021-04-06 23:00:32 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
e1004a2ccb *: modify the switch to control global stats (#22866) 2021-03-01 14:18:30 +08:00
806097c2e5 planner: fix wrong index merge selection (#22825) 2021-02-24 20:18:03 +08:00
2d48f9573c planner: decorrelate LogicalApply with inner join as the inner child (#22649) 2021-02-24 15:42:03 +08:00
04e5137f48 *: use explain format = 'brief' for tests (#22677) 2021-02-22 17:50:06 +08:00
e62d1d472c *: add some explain tests for cluster index (#22720)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2021-02-04 17:10:21 +08:00
32d8cad845 server: double type column from table should ignore its decimal (#21788)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-22 11:27:02 +08:00
f687ebd91c planner: fix correlated aggregates which should be evaluated in outer query (#21431) 2020-12-18 14:51:35 +08:00
99bdecc966 ddl: fix float precision larger than 53 (#20458) 2020-11-13 14:08:36 +08:00
a55a51a163 executor: fix show create table int default value (#20462) 2020-10-28 14:08:37 +08:00
09d272c288 planner: refine the explain message of expression (#16276) (#20410) 2020-10-23 18:07:43 +08:00
01fdea7b6c executor: show varchar instead of var_string (#19921) 2020-10-04 17:34:03 +08:00
421e87c5f1 planner: improve index merge row count estimation (#19040) 2020-09-27 18:06:36 +08:00
2a3a5ab076 *: disable new partition prune in master distribution (#19911) 2020-09-14 16:26:54 +08:00
bb675c0d63 types: check KindNull / KindMinNotNull / KindMaxValue when comparing datums (#19259)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-24 16:47:52 +08:00
b335d01caf cmd/explaintest: add a test to cover partition selection on hash partition (#16071)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-08 12:15:15 +08:00
3afb631ef6 planner/core: support range partition pruning for 'in' expression (#17210) 2020-05-20 19:27:14 +08:00
b4f42abc36 planner: Modify the judgment condition of rule_generate_column_substitute. (#16809) 2020-05-01 21:48:03 +08:00
dd57c0ad8b planner: ban rule_generate_column_substitute when column's… (#16316) 2020-04-17 19:43:30 +08:00
d8e6cf8de6 planner/core: support partition pruning for partition expression floor(unix_timestamp()) (#16402) 2020-04-17 16:17:33 +08:00
b8494e7a11 expression: support disable expression pushdown based on store… (#16389) 2020-04-17 14:53:25 +08:00
5282d089c7 executor: support generated column on point get and batch point get (#15544) 2020-03-23 14:21:35 +08:00
77dcdc546d *: Clear the name of some field in explain result. (#14958) 2020-03-02 17:43:22 +08:00
b98c88c948 infoschema/executor: support field expression in show index and related infoschema (#14400) 2020-02-20 19:04:48 +08:00
74e49085cf planner: make the read storage hint not force plan (#14644) 2020-02-10 20:02:22 +08:00
1d9ed45b37 *: support virtual generate column substitute optimization (#14367) 2020-02-10 16:01:05 +08:00
a5c0d56275 planner: enhance rule partition pruning (#14544) 2020-01-20 11:56:51 +08:00
74bc00dfa9 Improve the performance of WindowExec by using multi-thread hash grouping (#14238) 2020-01-16 21:04:16 +08:00
ae106f2e3b executor: support IndexMergeReaderExecutor (#12305) 2019-12-31 15:30:58 +08:00
fe764a97a3 *: only add union scan when dirty table is not empty (#14265) 2019-12-31 13:20:27 +08:00
08be35d778 planner: fix wrong stats for physical union scan (#14093) 2019-12-19 10:37:16 +08:00
9b7b2c0d50 planner/core: fix bug when using generated column in aggregate statement (#14111) 2019-12-18 14:46:47 +08:00
493c07c439 planner: correct row count estimation for inner child of index join (#13726) 2019-12-12 17:06:05 +08:00
c796205825 planner: fix bug for logical rule outer join elimination (#13947) 2019-12-10 15:56:26 +08:00
de862fc620 planner: do not push keep descending order to tiflash (#13572) 2019-12-02 13:44:28 +08:00
596fb64233 planner: support a hint to force using a IndexMerge path (#12843) 2019-11-27 15:44:25 +08:00
aca3f47292 *: Refactoring reading logic of virtual generate column (#12407) 2019-11-13 17:39:53 +08:00
ed070c496a planner: don't regenarate the same group by column when decorrelation (#12943) 2019-10-31 17:02:13 +08:00
63d1b1d0a3 planner: do not convert filter to range for table scan with tiflash (#12682) 2019-10-14 16:11:33 +08:00
7ffa4500e6 planner: support a hint to read from tiflash in planner (#12479) 2019-10-11 16:36:35 +08:00
1342cba5fe planner: set windowClause only in WindowFuncExpr (#11956)
* fix window

* tweak

* move test

* use filelist

* add explain test

* fix test

* fix

* fix

* fix test
2019-09-25 16:00:17 +08:00
8261a41223 planner: make every plan explainable (#12183) 2019-09-18 22:49:07 +08:00