Commit Graph

30 Commits

Author SHA1 Message Date
8d165f0fd2 executor: copy row data instead of refereeing chunk.Row in some window functions. (#11678) 2019-08-22 10:57:54 +08:00
e9653675dd *: remove errors.Trace in main handle path (#10033) 2019-04-04 14:27:15 +08:00
3a48d9c877 executor: add window function NTILE (#9682) 2019-03-15 16:01:56 +08:00
4422a23d9b executor: support window function lead and lag (#9672) 2019-03-14 14:40:51 +08:00
f5a4dd986a executor: add window function PERCENT_RANK (#9671) 2019-03-13 11:34:09 +08:00
6e8cd3c7dd executor: support window function nth_value (#9596) 2019-03-12 00:42:37 +08:00
f0aca29fff executor: support window function cume_dist (#9619) 2019-03-11 19:30:54 +08:00
247777d870 executor: support window function first_value and last_value (#9560) 2019-03-06 21:43:14 +08:00
9259785455 executor: support window function rank and dense_rank (#9500) 2019-02-28 14:44:08 +08:00
cc085693f1 executor: support window function row number (#9098) 2019-02-18 17:14:37 +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
f6f03db6dd expression: fix warning/error info of group_concat() (#7799) 2018-10-11 17:01:47 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
f98ef22ded expression, executor: add a new interface MergePartialResult for the new aggregation framework (#7281) 2018-08-13 14:54:06 +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
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