Commit Graph

16 Commits

Author SHA1 Message Date
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