dbb753fd02
executor: create PipelinedWindowExec ( #23022 )
2021-06-03 15:38:27 +08:00
c8bc701170
*: misc cleanups to variable package ( #24507 )
2021-05-11 13:23:38 +08:00
0d76e899f4
expression: fix wrong type infer for agg function when type is null ( #24290 )
2021-04-28 17:25:56 +08:00
f30108d88c
executor, expression: fix the incorrect result of AVG function ( #23285 )
2021-03-17 13:42:55 +08:00
362883c245
expression, planner: allow pushdown count distinct when enumerate physical plans ( #22867 )
2021-03-11 19:22:55 +08:00
355fdfee4b
brie: update br pkg to latest master ( #22528 )
2021-01-28 23:49:45 +08:00
e8fb3eab2c
expression: modify the mean result of time type ( #21514 )
2020-12-21 17:51:31 +08:00
28c9e9290b
*: gocritic fixes for commentFormatting ( #21578 )
2020-12-09 12:03:17 +08:00
8f11e31685
expression: revert some changes to fix mysql_test ( #21246 )
2020-11-24 15:28:23 +08:00
b77a514ae9
expression: fix a bug that DML using caseWhen may cause schema change ( #19857 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-11-24 13:27:02 +08:00
b6b4c67640
planner: the precision of a decimal type should not be more than MaxDecimalWidth ( #21046 )
2020-11-13 20:11:43 +08:00
3ef3e54b5e
planner: don't push down null sensitive join conditions ( #19620 )
2020-11-12 17:16:31 +08:00
a3facd0f71
expression, planner: fix decimal results for aggregate functions ( #20017 )
2020-11-11 14:46:22 +08:00
a338e35932
expression: fix wrong inferred type for sum and avg ( #20926 )
2020-11-11 14:10:34 +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
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