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
ec78f8bea3
expression/agg: add unit-test. ( #6074 )
2018-03-19 18:57:28 +08:00
eec1c524dc
util: refine Row.GetDatum when tp is MyDecimal ( #6087 )
2018-03-19 17:11:07 +08:00
9dcab918b6
expression/agg: remove useless code. ( #6075 )
2018-03-16 12:54:54 +08:00
0553deeb42
*:improve code readability and unified aliases ( #5997 )
2018-03-15 10:52:36 +08:00
dc2bbc8c4f
expression: correct the behavior of bit aggregate function. ( #5954 )
2018-03-05 21:44:01 +08:00
e1121814d2
*: don't import golang.org/x/net/context as goctx alias ( #5895 )
...
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
12c87929b8
*:fix some golint && ineffassign && misspell to improve GoReport Result ( #5867 )
2018-02-23 19:31:05 +08:00
4e1a114e68
*: move package context to sessionctx ( #5890 )
2018-02-22 18:03:38 +08:00
d9e16e104f
*: Cleanup code ( #5852 )
2018-02-12 23:17:03 +08:00
fc6376981d
*: remove GetSessionVars() in expression evaluation ( #5683 )
2018-01-22 11:04:32 +08:00
5bf8972460
aggregation: "group_concat" should not modify the argument during execution ( #5664 )
2018-01-17 22:01:36 +08:00
9f2ff293dd
*: make MVMap.Get() be able to reuse the value buffer pre-allocated ( #5644 )
2018-01-16 15:15:25 +08:00
2550969cae
aggregation, plan: split the presentation and evaluation layers of aggregation functions ( #5635 )
2018-01-15 15:48:03 +08:00
5692f459af
expression: refine the type infer of group_concat ( #5573 )
2018-01-08 16:21:44 +08:00
ecbd60c3ff
*: add arguement StatementContext to Encode functions. ( #5566 )
2018-01-06 17:31:08 +08:00
bc459c5261
executor: support Chunk for HashAggExec ( #5244 )
2018-01-06 10:21:52 +08:00
8b149c3323
Prealloc / collides with package name ( #5560 )
2018-01-05 19:15:54 +08:00
fea4b02ff3
expression, types: "Flen" and "Decimal" of "TypeNewDecimal" should not be -1 ( #5523 )
...
* expression, types: "Flen" and "Decimal" of "TypeNewDecimal" should not be -1
2017-12-31 12:23:04 +08:00
95a5c8ce5a
expresion, executor: correct the type inference of function "sum" and "avg" ( #5495 )
2017-12-26 18:16:52 +08:00
04a91532b8
expression: fix return type and decimal len for builtin aggregation function 'avg' and 'sum' ( #5292 )
...
* expression: fix return type and decimal len for builtin aggregation function 'avg' and 'sum'
* Code format refine
* Code format refine
* Fix frac for avg
2017-12-25 21:15:37 +08:00
6b6afb6c55
expression, plan: support builtin aggregation function 'bit_or' ( #5145 )
2017-12-19 05:51:08 -06:00
f8c0aaf0c9
parser, expression: support SEPARATOR in group_concat aggregate function ( #5420 )
2017-12-15 16:36:13 +08:00
f1e89cde19
*: use lower-case of github.com/sirupsen/logrus ( #5400 )
...
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus
* vendor: update pd
* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
c46f289d5a
expression, plan: support builtin aggregation function 'bit_xor' ( #5090 )
2017-12-05 19:32:27 +08:00
9ac1c08bf8
ast, plan, expression: support builtin aggregation function 'bit_and' ( #5147 )
2017-11-24 09:58:41 +08:00
8b15cb52b7
*: move StatementContext to its own package. ( #5177 )
2017-11-22 00:11:14 +08:00