Commit Graph

35 Commits

Author SHA1 Message Date
cc085693f1 executor: support window function row number (#9098) 2019-02-18 17:14:37 +08:00
5c65128632 ddl: make the leak test stable (#9139) 2019-01-23 13:01:55 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
98b96cc769 executor: speedup unit tests by spliting them into separate suites (#8618) 2018-12-24 21:37:12 +08:00
1cc9d4d53c expression: split aggregation descriptor for reuse (#8559) 2018-12-04 16:22:15 +08:00
b4746797fc *: clone AggDesc before modifying its Mode in AggDesc.Split (#8328) 2018-11-16 15:53:22 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
32aafa67c1 executor: add unit test for aggfuncs (#7966) 2018-10-23 16:53:18 +08:00
cde6a083d0 executor/aggfuncs: split unit tests to corresponding file (#7993) 2018-10-23 10:43:52 +08:00
f6f03db6dd expression: fix warning/error info of group_concat() (#7799) 2018-10-11 17:01:47 +08:00
f3a9390d18 executor: refine the precision for avg (#7860) 2018-10-11 14:51:56 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
27047a0e2f executor: remove *MVMap from agg executor (#7541) 2018-09-11 21:31:48 +08:00
4836aa33c3 executor: support new aggregate framework for HashAggExec (#7268) 2018-08-21 15:17:25 +08:00
1d567efcca executor: fix group_concat when chunk size is set to 1 (#7328) 2018-08-13 15:59:30 +08:00
f98ef22ded expression, executor: add a new interface MergePartialResult for the new aggregation framework (#7281) 2018-08-13 14:54:06 +08:00
af7fed9b38 executor: fix group_concat(a) when a is null (#7287) 2018-08-08 15:38:37 +08:00
d5c5115220 executor: fix firstrow/max/min(bit col) error (#7206) 2018-08-01 12:59:40 +08:00
0ca4cc6dc8 executor, util: wrap cast upon the args for AggFunction (#7180) 2018-07-31 17:51:44 +08:00
06021c7cfe remove types.Row interface (#7170) 2018-07-27 13:45:03 +08:00
e3ba021f5a *: make system variable 'group_concat_max_len' work (#7080) 2018-07-26 20:02:56 +08:00
1562f25787 add sum_decimal method for aggfunc (#7096) 2018-07-26 13:24:57 +08:00
dd99148767 executor: pass row pointer rather than row to avoid convertT2I (#7143) 2018-07-25 13:37:09 +08:00
ebfbe099e2 executor: avoid very slow structure to interface type converation (#7121) 2018-07-23 12:16:12 +08:00
6b13c4309c executor: support firstrow under new aggregation evaluation framework (#7057) 2018-07-18 09:37:09 +08:00
b29d52ba9c executor: support group_concat under new aggregation evaluation framework (#7032) 2018-07-17 20:22:13 +08:00
9c9ddf391f executor: support the remained types for max/min (#7056)
support String/ Time/ Duration/ JSON for max/min
2018-07-17 00:15:45 +08:00
4a7869e807 aggfuncs: implement Count with new aggregation framework (#7009) 2018-07-12 17:11:33 +08:00
7375633948 executor: support bit_and/bit_xor func in new agg evaluation framework (#7004) 2018-07-12 16:11:44 +08:00
0ef52acf82 executor: support MAX/MIN in new evaluation framework partially (#6971) 2018-07-12 15:01:16 +08:00
7de2b6a042 aggfuncs: implement avg(distinct) functions (#7015)
* aggfuncs: implement avg(distinct) functions
2018-07-11 15:54:13 +08:00
363cdc2d93 aggfuncs: implement bit-or with new aggregation framework (#6975) 2018-07-05 16:33:41 +08:00
ef1b9dfae1 aggfuncs: partially implement "AVG" (#6951) 2018-07-03 15:41:23 +08:00
3c05d77a17 executor: introduce a new execution framework for aggregate functions (#6852) 2018-06-29 16:52:56 +08:00