Commit Graph

26 Commits

Author SHA1 Message Date
e68dcf77dc *: remove ctx from function args. (#2566) 2017-01-28 18:44:02 +08:00
21e21c4a3c *: move the code of distinct logic. (#2539) 2017-01-23 20:43:47 +08:00
fb429408c9 *: make schema as a pointer. (#2533) 2017-01-23 16:23:47 +08:00
8a62fc1caf *: clean code. (#2464) 2017-01-15 10:00:03 +08:00
27f5f287f7 expression: move types.helper to expression pkg. (#2371) 2017-01-02 10:50:41 +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
b19cc75a94 mysql, types: move MyDecimal and Time from 'mysql' to 'types' package. (#2082)
So we don't need to handle sql mode in 'mysql' package, avoid potential dependency cycle.
2016-11-24 10:50:31 +08:00
7e041d2cba expression: let first_row get the first value no matter if it's null (#2057) 2016-11-22 16:07:14 +08:00
76f420595b *:support aggregate function push cross outer join. (#1899) 2016-11-01 17:59:12 +08:00
d3279072b7 *: support explain aggregation query. (#1901) 2016-10-31 15:33:59 +08:00
82971c4779 plan: support aggregation push down. (#1886) 2016-10-31 01:17:21 +08:00
0d49936ef9 expression: fix a bug when checking whether two aggregation functions are same. (#1852) 2016-10-20 19:53:09 +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
648bee53b2 add stream agg executor. (#1730) 2016-09-18 12:49:57 +08:00
e31b281ee7 *: use new MyDecimal implementation. (#1611) 2016-08-22 20:24:39 +08:00
f5a6c962b5 *: Change ctx.Value from interface{} to Datum (#1494) 2016-07-25 10:42:54 +08:00
432df5458b *: aggregate related code cleanup (#1488) 2016-07-23 14:29:52 +08:00
c66576ba05 Support aggregate push down in new executor (#1483)
Support aggregate push down for NewXSeelctTableExec.
2016-07-22 13:15:41 +08:00
01a42dfb8c *: Convert expression to pbExpr and implement builtin function (#1358)
* *: convert expression to pbExpr and implement the builtin function
2016-06-30 17:16:48 +08:00
5c886455a0 Fix go vet shadow (#1330)
* Fix go vet shadow
2016-06-18 12:36:17 +08:00
a4ce312d4b *: Push down where in newTableScan (#1320)
* *: tiny clean up

* *: push down where
2016-06-15 19:48:08 +08:00
921677399e Hanfei/apply (#1318)
add apply operator.
2016-06-15 15:23:05 +08:00
10359b0052 rewrite executor. (#1294)
* rewrite executor.
2016-06-07 20:32:15 +08:00
f9c31d9130 Hanfei/rewrite plan (#1272) 2016-06-01 13:12:55 +08:00