Commit Graph

211 Commits

Author SHA1 Message Date
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
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
2339a703d8 *: remove useless code in executor. (#4982) 2017-11-02 15:48:59 +08:00
e6f86e35d2 plan: build prepared statement plan in Optimize phase. (#4914)
When we build the `Execute` plan, the underlying plan is not built, so we don't know what the plan is before we execute it.
This PR move the plan building for prepared statement to optimizer, so we know what plan we are going to execute before we execute it.
2017-10-28 23:04:07 +08:00
ed7f68ca9b *: Add Row interface (#4859) 2017-10-23 11:36:28 +08:00
c49c2d333d inspectkv: rename package inspectkv to admin (#4815) 2017-10-19 21:33:24 -05:00
1a987dd825 *: Support the operation of cancel DDL jobs (#4753)
* *: support cancel the DDL job
2017-10-18 22:28:04 -05:00
67fa005048 executor, plan: abandon the selection controller (#4528) 2017-09-21 11:40:04 +08:00
339c93e5f9 add real tables for global/session status in performance schema (#4523) 2017-09-18 17:10:34 +08:00
952aafd403 *: Add operation of admin show ddl jobs (#4316)
* *: implement "admin show ddl jobs"
2017-09-05 13:07:51 +08:00
5ac8210e6d executor: clean code. (#4244) 2017-08-19 04:27:39 -05:00