3de13842b3
test: control log level with environment variables ( #30871 )
2021-12-24 17:03:48 +08:00
df58e6c36c
execution: refine precision of cast as decimal in agg func ( #30805 )
2021-12-23 16:53:47 +08:00
e3c56b75ea
executor: buildWindow cannot call typeInfer twice ( #30773 )
...
close pingcap/tidb#30402
2021-12-20 11:11:46 +08:00
b4df7ca4dc
test: make all the tests run in serial ( #30692 )
2021-12-14 18:06:36 +08:00
d3c6045f63
*: replace compareDatum by compare ( #30421 )
2021-12-06 20:41:56 +08:00
9aa756336e
executor: avoid sum from avg overflow ( #30010 )
2021-12-03 11:09:55 +08:00
0ee40992c7
expression: support pushdown duration to tiflash ( #28914 )
2021-10-30 00:54:51 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
32f96fef77
expression: make infer collation support the expressions with different charset ( #27863 )
2021-10-11 14:51:25 +08:00
042f498756
sessionctx/variable: Fix performance regression in NewMockGlobalAccessor ( #28303 )
2021-09-30 11:12:47 +08:00
e4c58a298a
expression/aggregation: migrate test-infra to testify for aggregation_test.go ( #27911 )
2021-09-16 10:00:42 +08:00
01e1ceda08
expression, executor: fix license header ( #28050 )
2021-09-15 10:56:42 +08:00
d42e4c0cc3
expression/aggregation: migrate test-infra to testify for util_test.go ( #27913 )
2021-09-13 09:46:39 +08:00
de2a9aca44
expression/aggregation: migrate test-infra to testify for agg_to_pb_test.go ( #27910 )
2021-09-11 10:42:39 +08:00
cdd8fc48aa
expression/aggregation: migrate test-infra to testify for base_func_test.go ( #27912 )
2021-09-10 23:40:38 +08:00
aebe657cd8
*: add charset information into field type ( #27644 )
2021-08-30 17:34:12 +08:00
f50dd1f24c
expression: Push down group concat to TiFlash ( #24778 )
2021-08-30 15:44:12 +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
cd5499e994
planner: Fix the problem that PlanBuilder.buildWindowFunctions may change sub operator's schema. ( #27176 )
2021-08-13 16:57:58 +08:00
853c41e3fb
executor: add builtin aggregate function json_arrayagg ( #19957 )
2021-08-04 16:15:07 +08:00
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