ccf6da1a46
*: rename NextChunk to Next ( #6214 )
2018-04-03 20:00:30 +08:00
73c3a82b8f
executor: improve performance of aggregation which have no group-by item. ( #6210 )
2018-04-03 16:01:59 +08:00
861103b4ae
executor: remove Next function for HashAggExec ( #5987 )
2018-03-22 17:16:51 +08:00
27dc8f3550
expression/agg: add ResetContext() for stream aggregation. ( #6097 )
2018-03-22 13:52:02 +08:00
8fef19a75b
executor: remove Next function for StreamAggExec ( #6017 )
...
executor: remove Next function for StreamAggExec
2018-03-12 14:39:51 +08:00
e1121814d2
*: don't import golang.org/x/net/context as goctx alias ( #5895 )
...
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
888bc2a602
*: uniform the way to iterate rows within a Chunk ( #5674 )
2018-01-22 11:34:04 +08:00
fc6376981d
*: remove GetSessionVars() in expression evaluation ( #5683 )
2018-01-22 11:04:32 +08:00
9f2ff293dd
*: make MVMap.Get() be able to reuse the value buffer pre-allocated ( #5644 )
2018-01-16 15:15:25 +08:00
3ce567630b
executor: store column's fieldType in executor ( #5619 )
2018-01-12 16:57:31 +08:00
f4fa60d306
executor, expression: support chunk for HashJoinExec ( #5439 )
2018-01-10 22:06:58 +08:00
ecbd60c3ff
*: add arguement StatementContext to Encode functions. ( #5566 )
2018-01-06 17:31:08 +08:00
bc459c5261
executor: support Chunk for HashAggExec ( #5244 )
2018-01-06 10:21:52 +08:00
c19307c41c
util, executor: refactor Chunk.AppendRow to handle virtual row ( #5563 )
2018-01-05 12:35:21 +08:00
019dbb7c9b
executor: support Chunk for StreamAggExec ( #5490 )
2018-01-03 19:47:18 +08:00
f355030858
executor: remove the useless encode ( #5366 )
2017-12-11 18:20:54 +08:00
e9a52b530e
plan, executor: add physical stream agg and remove aggType ( #5274 )
2017-12-04 14:33:57 +08:00
db270fc661
plan, executor: remvove hasAgg field. ( #5265 )
2017-11-30 11:13:14 +08:00
fb610e6429
*: change executor Next() interface to Next(goctx.Context) ( #5223 )
2017-11-26 21:17:33 -06:00
02f6bb27c7
*: remove goCtx from session struct ( #5174 )
...
1. go context should not be stored
2. change Executor interface to Open(goctx.Context)
3. many other changes forced by this refactor
2017-11-22 02:17:38 -06:00
8b15cb52b7
*: move StatementContext to its own package. ( #5177 )
2017-11-22 00:11:14 +08:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00
e34fc447fc
plan: remove old planner. ( #4979 )
2017-11-02 14:47:21 +08:00
eb8df3519a
*: prepare to enforce errcheck, part1 ( #4670 )
2017-09-30 16:23:37 +08:00
6f84392d40
*: optimize SortExec ( #4622 )
...
* *: change key of orderByRow from "key []types.Datum" to "key []*types.Datum"
* address comment
2017-09-25 19:50:26 +08:00
25b5a2ce18
*: Refactor aggregation ( #4605 )
...
Aggregation results were stored in aggregation functions, so one map is created for each function to store different groups’ results, which requires much memory.
The aggregation functions are refactored and are now stateless, and the maps are kept in executor (executor.HashAggExec and mocktikv.aggregateExec) so that only one map is needed to store all the functions’ results, which reduced the memory usage.
2017-09-22 19:41:01 +08:00
2762c44161
*: move aggregate functions to an individual package "aggregation" ( #4549 )
2017-09-18 15:07:35 +08:00
c7c248eb91
executor: change struct row to []types.Datum ( #4072 )
2017-08-09 18:37:57 +08:00
eac2769606
*: change the format of aggregation's result ( #3483 )
2017-06-21 18:19:03 +08:00
ad52a2462c
executor: add open inteferce for Executor. ( #3221 )
2017-05-09 21:13:22 +08:00
858d76bbe3
executor: fixed comments warning. ( #3187 )
2017-05-01 19:19:32 +08:00
97bfafa702
*: Use AggregationFunction instead of evaluate in aggregation ( #3040 )
2017-04-14 19:49:00 +08:00
a6e0019733
executor: use MVMap for aggregate ( #3028 )
2017-04-11 13:07:40 +08:00
9f17a88377
fix some typo in comments ( #2943 )
2017-03-29 08:55:49 +08:00
7965666bce
executor: ajust some code. ( #2574 )
2017-01-30 09:45:50 +08:00