Commit Graph

58 Commits

Author SHA1 Message Date
1c01055496 plan: add Contains function on Schema (#2588)
Improve readablity.
2017-02-04 14:25:12 +08:00
e68dcf77dc *: remove ctx from function args. (#2566) 2017-01-28 18:44:02 +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
96ee4446e3 *: refactor function. (#2499) 2017-01-22 18:10:38 +08:00
f145a32063 *: refactor apply plan and executor. (#2411) 2017-01-22 11:06:17 +08:00
52c267959b expression: refactor rest functions. (#2416) 2017-01-09 23:53:46 +08:00
1dd0945cf3 *: add unique key info into schema (#2376) 2017-01-06 17:36:39 +08:00
042280e1bf expression: add baseFunctionClass (#2361) 2017-01-03 11:21:14 +08:00
a28ab3eb73 *: add GetArgs interface (#2343) 2016-12-29 19:10:01 +08:00
7c87b92468 *: Use standard error code/message for incorrect function argument count error (#2335)
* *: Use standard error code/message for incorrect fuction argument count
error
2016-12-28 14:57:39 +08:00
5f96f67cbc *: change schema from []*Column to struct (#2321) 2016-12-27 14:02:19 +08:00
453a95ce8c *: merge packages of evaluator and expression. (#2322) 2016-12-26 12:35:29 +08:00
26e5c0c867 *: move evaluator's helper to expression package. (#2291) 2016-12-23 11:34:52 +08:00
a89fa8a8d3 *: refact insert logic (#2252) 2016-12-20 17:38:23 +08:00
35edefb757 *: rewrite the logic of set. (#2223) 2016-12-12 17:54:16 +08:00
74a1c9935d *: add StatementContext argument to functions. (#2157)
Add StatementContext argument to more functions where it is needed.
2016-12-02 23:28:11 +08:00
0b828d46f8 *: add context in baseplan, extract constant folder. (#2135) 2016-12-01 00:17:55 +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
e17644716d refactor show clause. (#1940) 2016-11-10 11:14:37 +08:00
76f420595b *:support aggregate function push cross outer join. (#1899) 2016-11-01 17:59:12 +08:00
82971c4779 plan: support aggregation push down. (#1886) 2016-10-31 01:17:21 +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
5caa0f5e29 decide push down conditions during plan building phase. (#1731) 2016-09-18 10:35:52 +08:00
b99521846f *: Make golint work and happy. (#1721) 2016-09-13 18:11:47 +08:00
6b8e1cdd0a support constant propagation (#1652) 2016-09-07 17:30:24 +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
acbfe2394f add arguments buffer to avoid making new slice frequently. (#1539) 2016-08-02 17:20:11 +08:00
da6ceb949b add constant folding (#1534) 2016-08-02 15:45:58 +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
883021fbb4 *: tiny clean up (#1425) 2016-07-11 18:03:59 +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
452637dccb *: Convert RegexpExpr to ScalarFuntion and check the arguments length of builtin functions (#1388)
* *: convert RegexpExpr to ScalarFuntion and add check arguments length
2016-07-05 12:37:23 +08:00
c72917d6e8 support cast and change the name of expression select field. (#1373) 2016-07-04 14:27:07 +08:00
a75f677900 support set variable, prepare and insert stmt. (#1359) 2016-06-29 18:26:47 +08:00
0eac76eb22 support row expression. (#1349)
support row function and row expression.
2016-06-27 16:03:51 +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
e051784728 *: Tiny clean up (#1334)
* *: tiny clean up
2016-06-22 10:59:51 +08:00
921677399e Hanfei/apply (#1318)
add apply operator.
2016-06-15 15:23:05 +08:00
99e3071c42 move position of rewriter. (#1310) 2016-06-12 14:43:58 +08:00
241bd7754c *: rename aggrMap to aggMap and handle error (#1309) 2016-06-12 13:52:17 +08:00
9ec42dbc4c *: Tiny clean up (#1303)
* *: rename DbName to DBName and fix plan shadows.
2016-06-08 16:33:41 +08:00
e3597b6548 Add Datum.IsNull() fucntion (#1298)
Add IsNull function for Datum to simplify null check.
2016-06-07 23:35:25 +08:00
10359b0052 rewrite executor. (#1294)
* rewrite executor.
2016-06-07 20:32:15 +08:00