Commit Graph

181 Commits

Author SHA1 Message Date
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
c7c248eb91 executor: change struct row to []types.Datum (#4072) 2017-08-09 18:37:57 +08:00
1eebb87156 ddl: remove backgroud worker, use delete-range to speed up something. (#3993) 2017-08-09 16:59:25 +08:00
059f6dd2f1 executor, expression, plan: remove rowMeta from row (#3758) 2017-08-04 18:37:31 +08:00
ab53786d33 *: Define the schema change at the table level (#3999) 2017-08-04 17:53:38 +08:00
dff73cc6e4 *: Modify the Makefile for go vet (#3900) 2017-07-30 23:02:52 -05:00
11a1767e71 *: Get ddl owner ID (#3525) 2017-06-27 11:24:50 +08:00
4b4378fdd4 fix some typo and continue refactor variable name topn (#3505) 2017-06-19 18:31:12 +08:00
3b9e5de9a5 *: Remove the useless code about DDL owner info (#3472)
* *: remove useless code about the ddl owner
2017-06-15 12:32:27 +08:00
1ccc71a94a statistics, ranger: add method to calculate the range and row count of non pk column (#3234) 2017-06-13 12:01:05 +08:00
345b30b929 executor: update an error code (#3276) 2017-05-16 18:07:49 +08:00
ad52a2462c executor: add open inteferce for Executor. (#3221) 2017-05-09 21:13:22 +08:00
9a9db91f63 plan: move range calculation to package ranger (#3208) 2017-05-09 02:12:39 -05:00
858d76bbe3 executor: fixed comments warning. (#3187) 2017-05-01 19:19:32 +08:00
350c79382a *: support new table reader executor. (#3133) 2017-04-27 13:27:26 +08:00
c237781cad plan, executor: make Analyze a Plan (#3130)
* executor: remove indexExec's depedency on indexPlan

* plan, executor: make Analyze a Plan

* address comment

* address comment

* fix gofmt
2017-04-26 10:36:44 +08:00
7699d3fb76 *: refine EvalBool function. (#3139) 2017-04-25 22:07:17 +08:00
8cea9b8a42 plan, util: move IndexRange and TableRange to types package. (#3018)
Those types will be used in statistics later.
2017-04-08 17:18:51 +08:00
fac3eb283b plan, executor: add logical prefix for agg, join and apply. (#2985) 2017-04-05 19:38:35 +08:00
aaa6184670 *: implement index nested loop join (#2945) 2017-04-01 15:12:20 +08:00
a168f413ba executor: reduce memory usage and GC overhead for hash join. (#2957)
Implemented and use MVMap to reduce GC overhead and memory usage for hash join.
2017-03-30 23:04:02 +08:00
e068663cdc Auto split insert data into multiple batches. (#2958)
Add a sysvar to enable batch insert data and disable batch insert in transaction.
2017-03-30 14:57:55 +08:00
0e172acd8e Add a controller in Selection to control the conditions of the below scan plan. (#2834)
Prepare for IndexLookupJoin.
2017-03-28 09:58:49 +08:00
7739d97697 Sort Merge Join (#2850)
parser/plan/executor: Added Merge Join operator with Hints
2017-03-22 21:42:16 +08:00
af3fb807ed server: stop listener on critical error. (#2854) 2017-03-17 18:54:51 +08:00
a408b86269 *: support in subquery unfolding (#2816) 2017-03-16 14:26:34 +08:00
51fce6fd51 plan: fix bug about column prunning. (#2796) 2017-03-09 15:40:16 +08:00
7520cb8972 fix issue2300 (#2605) 2017-02-08 19:48:51 +08:00
7965666bce executor: ajust some code. (#2574) 2017-01-30 09:45:50 +08:00
e68dcf77dc *: remove ctx from function args. (#2566) 2017-01-28 18:44:02 +08:00
fb429408c9 *: make schema as a pointer. (#2533) 2017-01-23 16:23:47 +08:00