Commit Graph

26 Commits

Author SHA1 Message Date
5c2d21eab4 *: remove function "NewChunk" (#6524) 2018-05-14 13:43:19 +08:00
ccf6da1a46 *: rename NextChunk to Next (#6214) 2018-04-03 20:00:30 +08:00
936d7b7d29 executor, memory: detach from parent when executor is closed (#6148) 2018-03-28 15:52:34 +08:00
67c948b609 executor: refactor merge join (#6078) 2018-03-20 12:37:40 +08:00
d81f637bb8 executor: remove Next function for SortExec (#6052)
* executor: remove Next() function for SortExec and TopNExec
2018-03-16 08:43:16 +08:00
f59c5bedc0 executor: remove Next() function for TopNExec (#6029) 2018-03-13 16:33:55 +08:00
ad814b0d6c executor, util: employ memory Tracker to track memory usage during query execution (#5826) 2018-03-06 11:02:09 +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
3ce567630b executor: store column's fieldType in executor (#5619) 2018-01-12 16:57:31 +08:00
c19307c41c util, executor: refactor Chunk.AppendRow to handle virtual row (#5563) 2018-01-05 12:35:21 +08:00
a2fb741191 *: Chunk add context parameter (#5348) 2017-12-09 11:23:40 +08:00
6e851719b7 plan, executor: add physical operator for lock, limit and union all. (#5301) 2017-12-05 18:55:23 +08:00
a1b1bb45e8 executor: support Chunk for TopN. (#5260) 2017-12-04 22:00:05 +08:00
4c904639cf *: add a session variable to control max chunk size (#5233) 2017-11-28 10:41:22 +08:00
20bd1b6842 executor: support chunk for Sort (#5221) 2017-11-27 20:39:26 +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
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05: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
c7c248eb91 executor: change struct row to []types.Datum (#4072) 2017-08-09 18:37:57 +08:00
bb1878d271 executor: fix bug when sort meets apply. (#3932) 2017-07-28 14:33:11 +08:00
4b4378fdd4 fix some typo and continue refactor variable name topn (#3505) 2017-06-19 18:31:12 +08:00
1c5ad420d3 executor: avoid allocating a lot of memory at first in topn. (#3392) 2017-06-07 19:13:24 +08:00
ad52a2462c executor: add open inteferce for Executor. (#3221) 2017-05-09 21:13:22 +08:00
7965666bce executor: ajust some code. (#2574) 2017-01-30 09:45:50 +08:00