25580ea5f4
*: Use a function to get the ONE, ZERO and NULL and fix the clone. ( #16512 )
2020-04-17 19:11:52 +08:00
8cd377dd07
executor: Improve the performance of aggFuncBitXor by using… ( #16091 )
2020-04-15 15:03:11 +08:00
c561d5aa99
*: remove useless conversions and omit some types ( #16262 )
2020-04-10 00:23:06 +08:00
a93e91fc57
executor: Improve the performance of aggFuncAvg by using sliding window ( #15606 )
2020-04-03 14:02:38 +08:00
5192c26150
executor: optimize count distinct with single column ( #15323 )
2020-03-31 15:04:12 +08:00
bbac2b2fe4
executor: Improve the performance of aggFuncSum by using sliding window ( #14887 )
2020-03-23 13:29:44 +08:00
34ff2b9a1d
executor: use deep copy for maxMin4JSON ( #15242 )
2020-03-11 17:35:32 +08:00
0ddfe0716f
*: fix datum's collation behavior to build correct logical ranges ( #14963 )
2020-03-05 22:34:46 +08:00
1771fff928
expression: make field and findInSet support collation ( #15100 )
2020-03-04 18:12:53 +08:00
f2fa5c5fd5
expression: consider collations when comparing strings ( #14913 )
2020-02-25 15:06:37 +08:00
4755a9b9ef
util: revert util/mathutil ( #14744 )
2020-02-13 11:33:04 +08:00
17da140f15
executor: Improve the performance of WindowExec by using sliding window ( #14294 )
2020-02-07 18:38:54 +08:00
ebc6a2d39d
*: add builtin aggregate function json_objectagg ( #11154 )
2020-02-04 21:41:55 +08:00
86ff21b076
*: add builtin aggregate function VAR_POP ( #14101 )
2020-01-07 20:55:29 +08:00
9bf17e6c9e
executor: fix wrong behavior when ENUM column meet Aggregati… ( #14035 )
2020-01-07 11:26:26 +08:00
174ff27943
*: fix static check issues ( #14286 )
2020-01-06 16:07:15 +08:00
d006443194
type: encapsulate Time API ( #14288 )
2019-12-31 12:41:09 +08:00
8cbacf0d7c
wasm: fix compile error for wasm ( #14160 )
...
Signed-off-by: 5kbpers <tangminghua@pingcap.com >
2019-12-23 15:17:46 +08:00
4b830aa7f6
*: Remove unused code ( #13674 )
2019-11-22 11:37:07 +08:00
609b52998f
executor: revert mostly changes in #11678 ( #12481 )
2019-10-16 21:22:49 +08:00
8d165f0fd2
executor: copy row data instead of refereeing chunk.Row in some window functions. ( #11678 )
2019-08-22 10:57:54 +08:00
c59028a2b5
*: let baseFuncDesc.typeInfer return error instead of panic ( #10910 )
2019-06-24 13:09:14 +08:00
f26edbf15c
executor: use EncodeBytes in countOriginDistinct ( #10225 )
2019-04-22 23:26:24 +08:00
e4aee76587
executor, util: fix wrong behavior of group_concat(distinct) ( #10108 )
2019-04-22 15:12:16 +08:00
13290a239a
executor/aggfuncs: add test for window functions ( #10131 )
2019-04-18 12:34:43 +08:00
e9653675dd
*: remove errors.Trace in main handle path ( #10033 )
2019-04-04 14:27:15 +08:00
0effd63b99
executor/aggfuncs: add test for aggregation functions ( #10002 )
2019-04-04 13:20:42 +08:00
833ccf8454
util,executor: use MutableString as key for DecimalSet ( #9913 )
2019-04-01 10:47:06 +08:00
366bc8dedf
executor/aggfuncs: add test for merge partial results ( #9909 )
2019-03-28 19:35:28 +08:00
538587a4a8
executor: fix group_concat for cases like group_concat(123,null) ( #9921 )
2019-03-28 14:24:23 +08:00
26029778a5
executor: deep copy json into partial result ( #9833 )
2019-03-28 12:54:19 +08:00
7cabaac61d
executor: using ToHashKey to check equality of decimal when count(distinct) ( #9901 )
2019-03-27 18:12:25 +08:00
915b12c968
executor: fix window function when order by item contain NULL ( #9800 )
2019-03-20 21:06:08 +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
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