Commit Graph

221 Commits

Author SHA1 Message Date
46f938c632 executor: remove Next() function for TableScanExec (#6020)
* executor: remove Next() function for TableScanExec
2018-03-13 00:24:59 +08:00
31fdda08cd remove Next() function for UnionExec (#6016) 2018-03-12 13:38:00 +08:00
f34f817b1f remove Next() function for ExistsExec (#6019) 2018-03-12 13:03:49 +08:00
cfab51bea6 remove Next() function for MaxOneRowExec (#6018) 2018-03-12 12:47:51 +08:00
025ff38edf executor: log the function stack when recovering from a panic (#6010) 2018-03-12 09:50:34 +08:00
a3bf058304 *: 1. remove EnableChunk 2. implement Next in baseExecutor to return nil (#5988) 2018-03-09 17:40:11 +08:00
ad814b0d6c executor, util: employ memory Tracker to track memory usage during query execution (#5826) 2018-03-06 11:02:09 +08:00
3b1884e473 *: support check an index (#5932)
* *: check index
2018-03-05 12:30:31 +08:00
04b504ee19 executor: remove supportChunk from interface Executor (#5942) 2018-03-05 10:45:59 +08:00
4844e4636e executor: add recover mechanism for union workers (#5900) 2018-02-26 12:55:23 +08:00
40129dfbf4 executor:add more comments for baseExecutor (#5825) 2018-02-24 22:03:53 +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
12c87929b8 *:fix some golint && ineffassign && misspell to improve GoReport Result (#5867) 2018-02-23 19:31:05 +08:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
bafe5697d6 executor: pass goCtx when initialize UnionExec (#5870) 2018-02-11 22:16:34 +08:00
5d91dbd5a1 executor: pass operator label from Plan to Executor (#5821) 2018-02-08 13:33:11 +08:00
96bd4e1162 executor: refine plan.EvalSubquery to support NextChunk (#5717) 2018-01-26 19:07:18 +08:00
e09aa114b1 executor: fix MaxOneRow.NextChunk (#5716) 2018-01-26 11:37:48 +08:00
888bc2a602 *: uniform the way to iterate rows within a Chunk (#5674) 2018-01-22 11:34:04 +08:00
c5c0714cde executor, sessionctx, util: log a warning when memory usage of HashJoinExec exceed threshhold (#5658) 2018-01-18 11:14:25 +08:00
8f1f0af39d executor: close the children of HashJoinExec and UnionExec after close goroutine finish (#5669) 2018-01-17 23:09: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
de992eb570 expression: only do a shallow copy when evaluating a "Column" expression (#5542) 2018-01-06 12:24:30 +08:00
c19307c41c util, executor: refactor Chunk.AppendRow to handle virtual row (#5563) 2018-01-05 12:35:21 +08:00
7159dd0ef6 executor: support Chunk for TableScanExec (#5443) 2017-12-22 19:52:43 +08:00
855df184e1 executor: support Chunk for TableDualExec (#5395) 2017-12-22 16:37:21 +08:00
163c944397 executor: support Chunk for ShowDDLJobsExec (#5412) 2017-12-19 14:17:19 +08:00
4d57f422fe executor: support Chunk for ShowDDLExec (#5415) 2017-12-16 22:59:20 +08:00
327ffd8896 executor: support Chunk for CancelDDLJobsExec (#5416) 2017-12-15 21:50:51 +08:00
df50524c03 executor: support Chunk for ExistsExec (#5396) 2017-12-15 00:24:38 +08:00
f90908dc7a executor: support Chunk for CheckTableExec (#5407) 2017-12-15 00:14:36 +08:00
6ee266d0ca executor: UpdateExec support NextChunk (#5372) 2017-12-14 15:32:06 +08:00
efe0dcc109 executor: support Chunk for SelectLockExec (#5399) 2017-12-14 14:59:20 +08:00
a2fb741191 *: Chunk add context parameter (#5348) 2017-12-09 11:23:40 +08:00
5155361045 executor: support Chunk for UnionExec (#5229) 2017-12-05 16:53:34 +08:00
a1b1bb45e8 executor: support Chunk for TopN. (#5260) 2017-12-04 22:00:05 +08:00
be29c68004 executor: support Chunk for MaxOneRowExec (#5281) 2017-12-04 13:56:01 +08:00
ba1979c2de executor: support Chunk for SelectionExec (#5211) 2017-11-30 16:30:28 +08:00
5b736237fe executor: support Chunk in LimitExec (#5200) 2017-11-28 16:33:00 +08:00
ee0d3f37a2 types, ranger: move Range to package ranger. (#5231) 2017-11-27 18:17:29 +08:00
fb610e6429 *: change executor Next() interface to Next(goctx.Context) (#5223) 2017-11-26 21:17:33 -06:00
ced6efc7f4 expression: support vectorized execution of expressions (#5184) 2017-11-22 23:41:36 +08: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
55b8f9f1ee executor, expression: support Chunk in ProjectionExec (#5178) 2017-11-22 13:34:03 +08:00
a32b8dbcf6 *: use Chunk for TableReader. (#5142) 2017-11-21 10:08:50 +08:00
628751439a privileges: grant privilege identified by password should be hash string (#5129) 2017-11-20 10:05:46 +08:00
cd5c665c8c executor: use baseExecutor for all Executors (#5087)
Makes it easy to add new method on Executor interface.
2017-11-13 21:06:31 +08:00
68cd5b09c4 plan, executor: improve hash join to support all join types (#4987) 2017-11-09 10:22:35 +08:00