Commit Graph

39 Commits

Author SHA1 Message Date
416ed4d961 plan: prune cor cols in gby items. (#2568) 2017-02-20 22:34:30 +08:00
37977865df *: add max1row info and refine scalar subquery's decorrelation. (#2646) 2017-02-17 19:25:00 +08:00
1c01055496 plan: add Contains function on Schema (#2588)
Improve readablity.
2017-02-04 14:25:12 +08:00
687cf0f51c plan: add opt flag. (#2542) 2017-01-26 13:04:00 +08:00
4d9b70f0a6 plan, executor: give special treat for index columns when analyze table (#2436)
* plan/statistics: statistics support add index info
2017-01-26 11:24:53 +08:00
461fd98bb0 *: rename the plan interface. (#2547) 2017-01-25 15:10:44 +08:00
fb429408c9 *: make schema as a pointer. (#2533) 2017-01-23 16:23:47 +08:00
f145a32063 *: refactor apply plan and executor. (#2411) 2017-01-22 11:06:17 +08:00
c470a46283 *: remove useless code. (#2457) 2017-01-15 11:37:48 +08:00
7c66138042 executor: optimize delete statement. (#2421) 2017-01-10 15:13:00 +08:00
a28ab3eb73 *: add GetArgs interface (#2343) 2016-12-29 19:10:01 +08:00
5f96f67cbc *: change schema from []*Column to struct (#2321) 2016-12-27 14:02:19 +08:00
c2c259b45d plan: we won't prune expression that contains set var (#2160) 2016-12-04 16:51:58 +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
3683d5f950 plan & expression: split the logic of column pruning and indices resolving. (#2051) 2016-11-23 18:01:27 +08:00
fdb74960a4 add a new expression type: Correlated Column. (#1973) 2016-11-17 12:42:12 +08:00
5044a8782f plan: recollect gby cols after retriving index. (#1966)
* plan: recollect gby cols after retrieving index.
2016-11-07 18:52:41 +08:00
82971c4779 plan: support aggregation push down. (#1886) 2016-10-31 01:17:21 +08:00
b8994bb139 *: Support stream aggregation. (#1735)
* *: Support stream aggregation.
2016-09-20 17:14:31 +08:00
648bee53b2 add stream agg executor. (#1730) 2016-09-18 12:49:57 +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
6e878144e5 support UPDATE and DELETE in new plan (#1582) 2016-08-19 14:35:39 +08:00
224fc0596b support semi-join for exists. (#1454) 2016-07-15 14:46:03 +08:00
e068bc5c8e refine code (#1447) 2016-07-14 14:41:03 +08:00
2f697eb987 support index scan. (#1440) 2016-07-13 18:16:51 +08:00
387f9d3192 plan: Tiny clean up (#1433)
* plan: check errors first
* plan: err1 replaces with err
* plan: remove empty line
2016-07-13 10:53:09 +08:00
e35c7ce6eb support nested subquery and fix bug of setting variable (#1412) 2016-07-09 20:25:51 +08:00
257df744bb fix bugs of insert and subquery (#1406) 2016-07-07 17:12:14 +08:00
6ab4cc5877 fix a lot of bugs about agg and having. (#1395) 2016-07-06 15:49:53 +08:00
107ad9662c implement logical plan. (#1366) 2016-07-01 15:13:27 +08:00
xia
259c721e6d plan: tiny clean up 2016-07-01 11:48:16 +08:00
87bbb12057 support in subquery and compare subquery. (#1355) 2016-06-29 17:00:58 +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
241bd7754c *: rename aggrMap to aggMap and handle error (#1309) 2016-06-12 13:52:17 +08:00
a71005710f plan: merge 'optimizer/plan' and 'optimizer' into one package. (#1300) 2016-06-07 20:49:05 +08:00