6d51ad33fd
*: Optimize struct memory usage by adjust field order ( #11629 )
2019-08-13 17:20:53 +08:00
829ba98907
expression: remove the NotNullFlag for aggregation func MAX/MIN when inferring type ( #11343 )
2019-08-05 17:41:40 +08:00
c59028a2b5
*: let baseFuncDesc.typeInfer return error instead of panic ( #10910 )
2019-06-24 13:09:14 +08:00
9c865a5f05
expression/aggregation: remove unused function in aggregation.Aggregation ( #8608 )
2019-06-05 08:59:05 +08:00
f3ab907dcc
types: rename CopyRow and CopyDatum to Clone* ( #10333 )
2019-05-09 19:26:01 +08:00
3a48d9c877
executor: add window function NTILE ( #9682 )
2019-03-15 16:01:56 +08:00
7a20e65e51
expression: fix panic when wrap cast for window func ( #9719 )
2019-03-15 11:06:48 +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
2b646cb58b
planner, executor: handle default frame for window functions ( #9544 )
2019-03-06 19:37:30 +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
ee1f79e2fc
expression: fix a bug in baseFuncDesc.clone() ( #9254 )
2019-02-10 10:35:46 +08:00
3835bef7ae
executor: support window func for aggregate without frame clause ( #8899 )
2019-01-15 15:23:17 +08:00
91cdbf2f54
planner: support window function ( #8630 )
2019-01-03 16:56:06 +08:00
d9e02b76dd
expression: remove redundant "errors.Trace()" in "expression" package ( #8609 )
2018-12-07 12:20:31 +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
29f14d4178
*: change default charset and collation from 'utf8 utf8_bin' to 'utf8mb4 utf8mb4_bin' ( #7965 )
2018-11-09 16:32:21 +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
f3a9390d18
executor: refine the precision for avg ( #7860 )
2018-10-11 14:51:56 +08:00
78303cbb4d
planner/core: separate aggPrune from aggPushDown ( #7676 )
2018-10-08 19:51:09 +08:00
b3cda9a7dc
expression: fix comments mistake ( #7713 )
2018-09-17 14:28:14 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
4836aa33c3
executor: support new aggregate framework for HashAggExec ( #7268 )
2018-08-21 15:17:25 +08:00
f98ef22ded
expression, executor: add a new interface MergePartialResult for the new aggregation framework ( #7281 )
2018-08-13 14:54:06 +08:00
9eb197f754
executor: remove the old evaluate logic of stream agg ( #7251 )
2018-08-03 08:34:28 +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
2fba9931c7
*: remove DatumRow ( #7165 )
2018-07-26 19:42:58 +08:00
3299f860ff
*: use chunk.Row instead of types.DatumRow in test files ( #7139 )
2018-07-24 21:45:33 +08:00
0b5a1251ee
expression/aggregation: set PB field type ( #7118 )
...
Aggregation expression should set field type in PB.
2018-07-22 12:50:18 +08:00
eeb08a9372
less type covert call ( #7102 )
2018-07-19 16:13:49 +08:00
5f7fc80389
expression, types: fix decimal minus/round/multiple result ( #7001 )
2018-07-12 00:02:19 +08:00
ab46569a50
executor: refine StreamAggExec when child is empty ( #7002 )
2018-07-11 14:33:48 +08:00
73dc86c7e4
aggregation: handle non-integer input for bit related aggregate functions ( #6994 )
2018-07-06 00:22:37 +08:00
dd37138dc0
*: support parallel hash agg ( #6658 )
2018-06-29 22:59:47 +08:00
63ef239bae
aggregation: fix the wrong result of avg(double) ( #6888 )
2018-06-29 17:36:27 +08:00
35b68b63ac
expression, executor: extract expression to ProjExec from AggExec ( #6839 )
2018-06-22 15:25:44 +08:00
7a97f6ab72
expression: add Partial1Mode/Partial2Mode/DedupMode for AggFunctionMode ( #6743 )
2018-06-05 11:37:55 +08:00
9150b0f25e
executor, expression: fix a panic of MAX/MIN ( #6632 )
2018-05-24 18:28:32 +08:00
357d5df66b
remove useless alias ( #6473 )
2018-05-05 22:36:54 +08:00
860e808e07
expression: remove mockKVClient ( #6299 )
2018-04-17 16:11:58 +08:00
27dc8f3550
expression/agg: add ResetContext() for stream aggregation. ( #6097 )
2018-03-22 13:52:02 +08:00
d68bf86896
*: remove useless code ( #5343 )
2018-03-21 10:59:23 +08:00