Commit Graph

236 Commits

Author SHA1 Message Date
01f77b0693 plan, executor: no longer treat dml as logical/physical plan. (#5230) 2017-11-30 18:46:28 +08:00
ba1979c2de executor: support Chunk for SelectionExec (#5211) 2017-11-30 16:30:28 +08:00
db270fc661 plan, executor: remvove hasAgg field. (#5265) 2017-11-30 11:13:14 +08:00
69c9e4efe4 *: limit chunk size to MaxChunkSize (#5252) 2017-11-28 21:05:30 +08:00
5b736237fe executor: support Chunk in LimitExec (#5200) 2017-11-28 16:33:00 +08:00
6d5bb7c23e plan, executor: split selection to logical plan and physical plan. (#5235)
* plan, executor: split selection to logical plan and physical plan.
2017-11-27 22:01:45 -08:00
20bd1b6842 executor: support chunk for Sort (#5221) 2017-11-27 20:39:26 +08:00
ee0d3f37a2 types, ranger: move Range to package ranger. (#5231) 2017-11-27 18:17:29 +08:00
a428e9d820 executor: support chunk for IndexLookupReader. (#5206) 2017-11-25 16:33:43 +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
f828016e9f *: move sessionctx/domainctx.go to domain package (#5168) 2017-11-22 13:41:58 +08:00
55b8f9f1ee executor, expression: support Chunk in ProjectionExec (#5178) 2017-11-22 13:34:03 +08:00
cd914b6611 plan, executor: remove NeedHandle field (#5144) 2017-11-21 15:20:24 +08:00
a32b8dbcf6 *: use Chunk for TableReader. (#5142) 2017-11-21 10:08:50 +08:00
726c3a0fa9 executor: tiny refine for join (#5099) 2017-11-20 23:05:57 +08:00
fff58a812b executor: slow startup for double read. (#5123)
* executor: slow startup for double read.
2017-11-16 06:32:31 -06: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
6f8db3167c executor: pre-allocate memory for slices (#5071) 2017-11-12 21:37:00 -06:00
a13d24cff5 executor: fix a data race in dataReaderBuilder (#5067) 2017-11-12 20:47:36 -06:00
ecbee2e81a executor: don't reuse Executor in IndexLookUpJoin, remove doRequestForDatums() (#5031) 2017-11-10 14:21:35 +08:00
68cd5b09c4 plan, executor: improve hash join to support all join types (#4987) 2017-11-09 10:22:35 +08:00
30a080db5c *: build and use count-min sketch (#5042) 2017-11-08 22:34:01 +08:00
f3cc26e2a1 executor: make batch size of index join increasing slowly. (#5022) 2017-11-07 14:29:05 +08:00
7a71b14ac1 executor: remove joinBuilder (#5019) 2017-11-06 16:01:28 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
c70ed24253 plan, executor: clean code. (#4994) 2017-11-02 23:32:04 +08:00
0616a2fd15 executor, distsql: remove useless code. (#4991) 2017-11-02 19:40:59 +08:00
2339a703d8 *: remove useless code in executor. (#4982) 2017-11-02 15:48:59 +08:00
0b24d6022e plan, executor: improve index join to support all join types (#4944) 2017-11-01 15:44:22 +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
d036f0ef25 plan, executor: improve merge join to support all join types (#4869) 2017-10-26 18:39:02 +08:00
2285e65cd9 excutor: tiny code cleanup (#4899) 2017-10-25 21:15:08 +08:00
a84bf5bf35 executor: use max uint64 as analyze's start timestamp (#4892) 2017-10-25 16:51:26 +08:00
0306bb0070 tidb: support a plan cache for prepared statements (#3956)
* tidb: support a plan cache for prepared statements
2017-10-24 00:55:51 -05: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
d88344f869 plan, tidb: support plan cache for SELECT statement (#4644) 2017-10-11 22:34:04 -05:00
eb8df3519a *: prepare to enforce errcheck, part1 (#4670) 2017-09-30 16:23:37 +08:00
a6756a4eee *: make insert with calculated value behave the same as MySQL. (#4603) 2017-09-27 19:59:31 +08:00
0fd5b5167e *: change the way transfer handle. (#4348) 2017-09-27 03:47:07 -05:00
d4adb77e4a executor: set default value for analyze push down (#4610) 2017-09-22 06:28:06 -05:00
67fa005048 executor, plan: abandon the selection controller (#4528) 2017-09-21 11:40:04 +08:00
f1022c8874 store/tikv: tiny update mocktikv (#4555)
* store/tikv: tiny update mocktikv

1. for mocktikv, close storage should close the leveldb engine
2. set tikvStore's mock flag in NewMockTikvStore function
2017-09-19 15:46:53 +08:00
339c93e5f9 add real tables for global/session status in performance schema (#4523) 2017-09-18 17:10:34 +08:00
31f7b9c3b6 *: implement analyze columns push down (#4522) 2017-09-18 14:21:10 +08:00
a7dc21c1e8 *: implement analyze index push down (#4489) 2017-09-14 10:34:12 +08:00
952aafd403 *: Add operation of admin show ddl jobs (#4316)
* *: implement "admin show ddl jobs"
2017-09-05 13:07:51 +08:00
ae30c4dcbc support "UPDATE IGNORE", update conflicts generate warning (#4397) 2017-09-04 11:13:18 +08:00
881d76840b plan,executor: calculate generated columns in CRUD. (#3951) 2017-08-23 14:52:43 +08:00
7c273c0f29 *: implement auto analyze (#4141) 2017-08-18 18:42:28 +08:00