Commit Graph

34 Commits

Author SHA1 Message Date
40ce39c79a plan, expression: support join key is an expression. (#3813) 2017-07-20 18:39:33 +08:00
eac2769606 *: change the format of aggregation's result (#3483) 2017-06-21 18:19:03 +08:00
3c7df1c302 executor, plan: support batch index look up join. (#3306) 2017-05-23 23:12:19 +08:00
f57f99ac13 plan: new plan support index look up join. (#3281) 2017-05-21 11:54:50 +08:00
e7257d0e9d plan, executor: open the new plan switch for all test. (#3274) 2017-05-16 20:40:12 +08:00
1e2b6af3ab plan: add topn operator. (#3242) 2017-05-12 10:37:12 +08:00
28be450cc9 plan, executor: refine code. (#3173) 2017-04-28 16:43:26 +08:00
350c79382a *: support new table reader executor. (#3133) 2017-04-27 13:27:26 +08:00
31bc1083fc plan: new plan support union scan. (#3098) 2017-04-26 15:34:38 +08:00
05fc489229 plan: support DataSource converts to new plan. (#3045)
Support Selection and DataSource converts to new plan.
2017-04-18 17:38:44 +08:00
fac3eb283b plan, executor: add logical prefix for agg, join and apply. (#2985) 2017-04-05 19:38:35 +08:00
aaa6184670 *: implement index nested loop join (#2945) 2017-04-01 15:12:20 +08:00
51fce6fd51 plan: fix bug about column prunning. (#2796) 2017-03-09 15:40:16 +08:00
461fd98bb0 *: rename the plan interface. (#2547) 2017-01-25 15:10:44 +08:00
6ae4b77d7f plan, executor: clean code (#2520) 2017-01-22 10:18:10 +08:00
a28ab3eb73 *: add GetArgs interface (#2343) 2016-12-29 19:10:01 +08:00
153f216451 plan: resolve table source by infoschema. (#2275) 2016-12-21 14:30:45 +08:00
f0db619009 *: refactor constant propagation. (#2087) 2016-11-27 16:21:12 +08:00
440abb21f2 plan: set apply's innerplan be the second child of it. (#2092) 2016-11-25 11:07:41 +08:00
79a8c3fc8d plan: add a Cache plan in physical plan (#2052)
plan: add Cache plan

* format code

* tiny change

* optimize the logic of code

* rename some variable and optimize logic

* move e.cursor++ down
2016-11-23 15:53:44 +08:00
e17644716d refactor show clause. (#1940) 2016-11-10 11:14:37 +08:00
406c5c4094 *: support common aggregation functions elimination. (#1843) 2016-10-20 15:58:34 +08:00
b8994bb139 *: Support stream aggregation. (#1735)
* *: Support stream aggregation.
2016-09-20 17:14:31 +08:00
f2d8b3c108 remove New*** from variable name. (#1644) 2016-08-29 10:18:45 +08:00
e33587ed47 support explain (#1632) 2016-08-26 11:19:23 +08:00
e4ac5301ce remove useless code. (#1609) 2016-08-20 16:00:20 +08:00
c18dd04e04 optimize when condition is false constant. 2016-08-15 11:11:37 +08:00
9574322317 support join reorder. (#1522) 2016-08-01 15:57:47 +08:00
2b4acb0caf support cbo (#1498) 2016-07-27 11:10:52 +08:00
2f697eb987 support index scan. (#1440) 2016-07-13 18:16:51 +08:00
34ebc07aae support union and distinct in new plan. (#1345)
support union and distinct in new plan
2016-06-24 18:05:36 +08:00
af7f2a2e89 correct "order by", "having", "group by"s' resolving rules. (#1326)
resolve order by/ having/ group by correctly.
2016-06-22 11:58:06 +08:00
921677399e Hanfei/apply (#1318)
add apply operator.
2016-06-15 15:23:05 +08:00
a71005710f plan: merge 'optimizer/plan' and 'optimizer' into one package. (#1300) 2016-06-07 20:49:05 +08:00