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
dd24cbd1ac
update tidb for stdddev_pop ( #19384 )
2020-08-24 12:41:04 +08:00
0448a54875
types: fix wrong hash key for decimal ( #19131 )
...
* types: fix wrong hash key for decimal
* fix bug
* fix & add test
* address comments and add test
* add test
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-13 19:29:17 +08:00
ace80c7411
planner: apply min-max eliminator on common handle columns ( #18589 )
...
* planner: apply min-max eliminator on common handle columns
* reuse AccessPath.IsTablePath()
* planner: apply min-max eliminator on common handle columns
* address comments
* address comment
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-07-17 18:01:47 +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
c98514e751
executor: unify executor concurrency ( #16999 )
2020-06-22 17:39:32 +08:00
978370f7cb
executor: add new agg function APPROX_COUNT_DISTINCT ( #17175 )
2020-06-18 22:00:14 +08:00
b248783dfe
planner: fix wrong agg function when agg push down union ( #17022 )
2020-05-20 21:50:15 +08:00
7ebcc20398
executor: support GROUP_CONCAT(ORDER BY) ( #16591 )
2020-05-06 18:41:22 +08:00
72f4576742
executor, types: set correct collate in newValueExpr ( #16323 )
2020-04-15 17:38:59 +08:00
4eb9ca3d3f
planner: push aggregation functions with distinct to cop ( #15500 )
2020-04-01 20:49:14 +08:00
0d10f91539
executor: check for null values when comparing different groups during streamAgg ( #15742 )
2020-03-27 16:42:14 +08:00
34ff2b9a1d
executor: use deep copy for maxMin4JSON ( #15242 )
2020-03-11 17:35:32 +08:00
caf18df25f
planner: fix redundant brackets cause full group by check failed ( #14955 )
2020-02-28 17:10:38 +08:00
74bc00dfa9
Improve the performance of WindowExec by using multi-thread hash grouping ( #14238 )
2020-01-16 21:04:16 +08:00
86ff21b076
*: add builtin aggregate function VAR_POP ( #14101 )
2020-01-07 20:55:29 +08:00
9b7b2c0d50
planner/core: fix bug when using generated column in aggregate statement ( #14111 )
2019-12-18 14:46:47 +08:00
e979cff6bb
planner: add column mapping in explain result ( #13640 )
2019-11-27 16:39:19 +08:00
f98a1077c1
executor: refine the check of onlyFullGroupBy when groupByItem is parenthesesExpr or UnaryPlusExpr ( #13655 )
2019-11-21 12:39:07 +08:00
889ad618cf
planner: projection don't new unnecessary column ( #13406 )
2019-11-20 13:58:38 +08:00
aca3f47292
*: Refactoring reading logic of virtual generate column ( #12407 )
2019-11-13 17:39:53 +08:00
9b0334601a
executor: speed up test ( #12896 )
2019-10-23 21:11:21 +08:00
5564267250
Fix forever hanging when HashAgg is called by apply ( #12760 )
2019-10-16 20:16:21 +08:00
7ffa4500e6
planner: support a hint to read from tiflash in planner ( #12479 )
2019-10-11 16:36:35 +08:00
e2b1f7eff8
expression: change the String() method of expression.Column ( #12089 )
2019-09-16 14:30:22 +08:00
5c18c5df97
type: add db prefix to function name for not exist error messages ( #11156 )
2019-09-10 11:20:19 +08:00
fe038642e5
*: refactor cost model formulas and constants ( #10581 )
2019-08-07 17:44:09 +08:00
c59028a2b5
*: let baseFuncDesc.typeInfer return error instead of panic ( #10910 )
2019-06-24 13:09:14 +08:00
0324cf5d19
executor: reset groupChecker for StreamAggExec when Close ( #10615 )
2019-05-29 13:55:44 +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
4c91f53e1f
planner: do not eliminate group_concat in aggregate elimination ( #9967 )
2019-04-01 12:21:19 +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
a9c7c70596
planner, executor: inject proj below TopN and Sort if byItem contains scalarFunc ( #9197 )
2019-02-15 15:34:30 +08:00
3d614e0965
planner: enable function any_value in aggregation if ONLY_FULL_GROUP_BY is set ( #9255 )
2019-02-10 10:03:40 +08:00
ec833bc4d2
*: fix some lints produced by golangci-lint ( #8999 )
2019-01-16 16:44:49 +08:00
084aa5a030
config: add initChunkSize config item, make chunk start with 32 ( #8480 )
2019-01-07 11:14:47 +08:00
98b96cc769
executor: speedup unit tests by spliting them into separate suites ( #8618 )
2018-12-24 21:37:12 +08:00
01ca08b8c2
infoschema: Add missing i_s.files columns ( #8387 )
2018-11-22 11:35:59 +08:00
f3a9745e2c
executor: support for "admin show next_row_id" ( #8242 )
2018-11-09 22:08:42 +08:00
fffb49bce6
*: modify tests to work with only-full-group-by on ( #8163 )
2018-11-05 10:41:48 +08:00
696ef7bae2
plan: convert in subquery to agg and inner join ( #7531 )
2018-10-30 19:19:32 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
c520132962
plan: move projEliminate behind aggEliminate ( #7909 )
2018-10-16 17:25:17 +08:00
e79bd946ed
*: change package name from plan to planner ( #7760 )
2018-09-25 11:16:39 +08:00
56713821ff
plan: fix a problem caused by union's schema ( #7680 )
...
Before this commit. Union use the schema of its `Children[0]`.
The `Columns` information is correct.
But the `unique key information` is not, obviously.
2018-09-20 19:36:14 +08:00
7de83a3c8f
plan: use the inferred type as the column type in the schema ( #7624 )
2018-09-12 20:29:50 +08:00
4836aa33c3
executor: support new aggregate framework for HashAggExec ( #7268 )
2018-08-21 15:17:25 +08:00
6e7d75299d
test: refine test ( #7414 )
2018-08-16 17:05:59 +08:00