1cab3d5947
*: fix bug of same type plans with different plan digest ( #19519 )
2020-09-01 21:55:20 +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
15ff461530
expression: set correct collation in InferType4ControlFuncs ( #19483 )
2020-08-27 16:52:55 +08:00
931ff98df5
simple fixes for the staticcheck linter ( #18923 )
...
Note that this found 2 bugs where errors were being silently ignored.
These are really simple fixes that didn't require much thought.
There are still more staticcheck warnings that should be fixed.
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-06 13:38:17 +08:00
2627ca2116
executor: fix sum & avg on year type ( #18318 )
...
Signed-off-by: niedhui <niedhui@gmail.com >
2020-07-02 11:51:24 +08:00
978370f7cb
executor: add new agg function APPROX_COUNT_DISTINCT ( #17175 )
2020-06-18 22:00:14 +08:00
06361c2d98
expression: fix type infer error for count ( #17871 )
2020-06-11 10:22:54 +08:00
583956dff5
expression: fix type infer for decimal property in count agg ( #17368 )
2020-06-05 12:43:49 +08:00
e8779717d9
planner, expression: Remove the default asc order in explain result ( #17074 )
2020-05-14 17:38:19 +08:00
7ebcc20398
executor: support GROUP_CONCAT(ORDER BY) ( #16591 )
2020-05-06 18:41:22 +08:00
b8494e7a11
expression: support disable expression pushdown based on store… ( #16389 )
2020-04-17 14:53:25 +08:00
8f000fc353
planner: push avg & distinct functions across union ( #16344 )
2020-04-15 18:07:37 +08:00
4eb9ca3d3f
planner: push aggregation functions with distinct to cop ( #15500 )
2020-04-01 20:49:14 +08:00
74626823f4
expression: fix collate bug in constant propagation ( #15066 )
2020-03-13 22:55:23 +08:00
a999ef6981
expression: support different expr push down for TiKV and TiFlash ( #15174 )
2020-03-11 16:16:03 +08:00
55b3e1110c
*: reduce the allocation caused by Datum.Copy ( #15219 )
2020-03-09 17:38:46 +08:00
41142266b2
*: use SetString() for string instead of SetBytes() ( #14989 )
2020-03-02 15:48:10 +08:00
e43e4d4fdd
*: fix bug of cluster table agg push down. ( #14923 )
2020-02-27 13:42:54 +08:00
eb12799152
*: Collation should be set accordingly when setting string datum ( #14757 )
2020-02-20 23:01:53 +08:00
4755a9b9ef
util: revert util/mathutil ( #14744 )
2020-02-13 11:33:04 +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
8cbacf0d7c
wasm: fix compile error for wasm ( #14160 )
...
Signed-off-by: 5kbpers <tangminghua@pingcap.com >
2019-12-23 15:17:46 +08:00
5b6422df58
*: support read remote TiDB memory table of cluster ( #13065 )
2019-12-04 13:05:36 +08:00
be128c6090
Revert "expression: open CAST push down switcher default ( #12652 )" ( #13264 )
...
This reverts commit a7854936bf6771f1716b11ab11775672de2e143c.
2019-11-08 15:52:25 +08:00
a7854936bf
expression: open CAST push down switcher default ( #12652 )
...
Signed-off-by: Lonng <heng@lonng.org >
2019-11-07 20:07:16 +08:00
36f0f37b40
expression, planner: remove some fields from `expression.Colum… ( #12573 )
2019-10-29 15:48:26 +08:00
5d5497bfeb
expression: speed up unit tests under the expression package ( #12887 )
2019-10-23 03:56:31 -05:00
7ffa4500e6
planner: support a hint to read from tiflash in planner ( #12479 )
2019-10-11 16:36:35 +08:00
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