0b1d3e0da3
*: cleanup sysvar API usage ( #36640 )
...
close pingcap/tidb#36639
2022-08-02 07:54:04 +08:00
1bf64c60f4
*: Refactor FieldType structure ( #33569 )
...
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
e6812f9481
executor: handle collate for min/max(enum/set column) ( #31819 )
...
close pingcap/tidb#31638
2022-01-20 19:21:46 +08:00
9aa756336e
executor: avoid sum from avg overflow ( #30010 )
2021-12-03 11:09:55 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
7755d25aba
*: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers ( #27198 )
2021-08-16 18:52:00 +08:00
853c41e3fb
executor: add builtin aggregate function json_arrayagg ( #19957 )
2021-08-04 16:15:07 +08:00
c8bc701170
*: misc cleanups to variable package ( #24507 )
2021-05-11 13:23:38 +08:00
04c334ba56
executor: Improve max/min window function with deque-based sliding window ( #22628 )
2021-04-14 13:11:52 +08:00
c32895f667
expression: fix approx_percent panic on bit column ( #23687 )
2021-03-30 20:17:24 +08:00
8ddd41c960
executor: fix typo ( #22385 )
2021-01-18 16:15:28 +08:00
6e1c2ac8a2
executor: fix LEAD and LAG's default value can not adapt to field type ( #20747 )
2020-12-11 14:55:22 +08:00
a3facd0f71
expression, planner: fix decimal results for aggregate functions ( #20017 )
2020-11-11 14:46:22 +08:00
aceecf0732
executor: support new aggregate funtion APPROX_PERCENTILE ( #19799 )
...
Signed-off-by: leiysky <leiysky@outlook.com >
2020-09-24 15:59:38 +08:00
205c40186a
*: support aggregate function stddev_samp() and var_samp() ( #19810 )
...
Co-authored-by: Zhuomin(Charming) Liu <lzmhhh123@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-09-16 17:44:41 +08:00
71d7262067
expression: Support distinct in select stddev_pop() ( #19680 )
2020-09-10 14:43:51 +08:00
4a638269dd
executor: support memory trace for value functions ( #19811 )
2020-09-09 18:15:10 +08:00
b6b9b8a6df
exector, planner: Improve the performance of the aggFuncMaxMin by using sliding window ( #16819 )
...
* temp
* temp
* unit test
* executor: Improve the performance of `aggFuncMin` by using sliding window
* executor: Improve the performance of `aggFuncMin` by using sliding window
* executor: Improve the performance of `aggFuncMin` by using sliding window
add ut
* fix: ResetPartialResult
* add maxMin4Time.Slide and maxMin4Duration.Slide
* add benchmark
* add var `dirty`
* add a comment
* fix Decimal
* newMyDecimalMaxMinQueue
* newMyDecimalMaxMinQueue
* newMyDecimalMaxMinQueue
* newMyDecimalMaxMinQueue
* newMyDecimalMaxMinQueue
* implementing the maxMinQueue using heap
* fix import check
* fix import check
* fix check
* remove PushMyDecimal
* refactor maxMinHeap
* 尝试优化heap
* 尝试优化heap
* fix benchmark
* fix:*
* solved pr comments
* solved pr comments
* fix
* fix
* fix
* 先回家
* maxMin4IntSliding
* fix import
* fix
* new builder
* fix ut
* fix
* fix
* fix ut
* fix ut
* fix fmt
* add benchmark
* fix
* fix
* lazyload
* lazyload
* fix frame
* fix check_dev
* add a unit test
* sliding aggFunc
* sliding aggFunc
* fix
* move ut
* fix dev_check
* fix dev_check
* resolved comments
* refactor ut
* refactor ut
* refactor ut
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com >
2020-09-09 14:31:41 +08:00
9047a9c881
executor: fix wrong behavior for max/min on ENUM/SET column ( #19552 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
Co-authored-by: Yiding Cui <winoros@gmail.com >
2020-09-01 21:18:03 +08:00
49af6a511f
expression: Support stddev_pop function ( #19195 )
...
* add stddev_pop function
* fix for make check
* not push down
* add util test
* stddevpop inherit from varpop
* fix typo
* support std and stddev
* update go.mod
* uodate parser master
* fix ditto
* fix fix
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-27 19:42:53 +08:00
978370f7cb
executor: add new agg function APPROX_COUNT_DISTINCT ( #17175 )
2020-06-18 22:00:14 +08:00
7ebcc20398
executor: support GROUP_CONCAT(ORDER BY) ( #16591 )
2020-05-06 18:41:22 +08:00
25580ea5f4
*: Use a function to get the ONE, ZERO and NULL and fix the clone. ( #16512 )
2020-04-17 19:11:52 +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
0ddfe0716f
*: fix datum's collation behavior to build correct logical ranges ( #14963 )
2020-03-05 22:34:46 +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
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
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