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
1d567efcca
executor: fix group_concat when chunk size is set to 1 ( #7328 )
2018-08-13 15:59:30 +08:00
f98ef22ded
expression, executor: add a new interface MergePartialResult for the new aggregation framework ( #7281 )
2018-08-13 14:54:06 +08:00
af7fed9b38
executor: fix group_concat(a) when a is null ( #7287 )
2018-08-08 15:38:37 +08:00
5e7aa1d97d
infoschema,executor: add PROCESSLIST table to INFORMMATION_SCHEMA database ( #7236 )
2018-08-01 22:48:33 +08:00
d5c5115220
executor: fix firstrow/max/min(bit col) error ( #7206 )
2018-08-01 12:59:40 +08:00
b29d52ba9c
executor: support group_concat under new aggregation evaluation framework ( #7032 )
2018-07-17 20:22:13 +08:00
63c4562c27
*: remove non-prepared plan cache ( #7040 )
...
* *: remove non-prepared plan cache
non-prepared plan cache is not usable if we can only do full string match.
And further development doesn't worth the effort.
2018-07-13 18:15:05 +08:00
4a7869e807
aggfuncs: implement Count with new aggregation framework ( #7009 )
2018-07-12 17:11:33 +08:00
0ef52acf82
executor: support MAX/MIN in new evaluation framework partially ( #6971 )
2018-07-12 15:01:16 +08:00
ab46569a50
executor: refine StreamAggExec when child is empty ( #7002 )
2018-07-11 14:33:48 +08:00
5f6e36241c
support generation_expression ( #7017 )
2018-07-09 20:06:27 +08:00
dd37138dc0
*: support parallel hash agg ( #6658 )
2018-06-29 22:59:47 +08:00
0ab0b50f25
stats: refine the pseudo condition for stats ( #6565 )
2018-06-27 17:05:37 +08:00
a9360655e8
plan: fix a bug when 'only_full_group_by' is set in sql_mode ( #6734 )
...
when 'only_full_group_by' is set in sql_mode, raise error for non-aggregated column in query without GROUP BY.
mysql> create table t(a bigint, b bigint, c bigint); Query OK, 0 rows affected (0.02 sec)
mysql> select a, max(b) from t;
ERROR 1140 (42000): In aggregated query without GROUP BY, expression #1 of SELECT list contains nonaggregated column 'dc_test.t.a'; this is incompatible with sql_mode=only_full_group_by
2018-06-25 17:03:00 +08:00
48719d2019
stats: refine index row count estimation ( #6869 )
2018-06-22 15:48:36 +08:00
35b68b63ac
expression, executor: extract expression to ProjExec from AggExec ( #6839 )
2018-06-22 15:25:44 +08:00
9150b0f25e
executor, expression: fix a panic of MAX/MIN ( #6632 )
2018-05-24 18:28:32 +08:00
10e57a5cef
*: save gc_delete_range items that is done in another table instead of deleting them. ( #6512 )
2018-05-14 07:09:15 -05:00
e2b033d1c0
*: add a tidb system variable tidb_hash_join_concurrency ( #6244 )
2018-04-12 20:28:19 +08:00
19573c6754
*: update stats using query feedback ( #6197 )
2018-04-10 19:12:38 +08:00
13a7f1943c
*: fix data race in plan cache ( #6234 )
2018-04-09 08:24:38 +08:00
ca0e0dbe75
Improve the aesthetics of code review ( #6130 )
2018-04-01 18:09:35 +08:00
501de19821
stats: add average column size for the histogram ( #5974 )
2018-03-23 13:44:24 +08:00
4241d70646
types: support converting json to float64 ( #6081 )
2018-03-22 13:37:53 +08:00
eec1c524dc
util: refine Row.GetDatum when tp is MyDecimal ( #6087 )
2018-03-19 17:11:07 +08:00
c2c85b3102
executor, util: refine row.GetMyDecimal ( #6077 )
2018-03-16 22:55:16 +08:00