Commit Graph

419 Commits

Author SHA1 Message Date
e38f406756 executor: extend ADMIN CHECK INDEX statement. (#5955) 2018-03-11 16:27:55 +08:00
2c3933464b plan, executor: remove the duplicate function of setPBColumnsDefaultValue (#5967) 2018-03-07 15:48:55 +08:00
50e98f427e config: add validation for configuration (#5864) 2018-03-06 14:56:28 +08:00
5461718c65 executor,distsql: set streaming flag for coprocessor request based on executor's type (#5916)
Decide whether a executor support streaming, TableScan/IndexScan/Selection support it.
If a coprocessor request need some operations like aggregation or topn, it's meanless
to use streaming for the request.
2018-03-05 21:21:28 -06: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
27c65d25bb executor, distsql: move "requestBuilder" from package "executor" to "distsql" (#5903) 2018-02-26 12:46:51 +08:00
8268d4d8b4 *: move irrelevant code out of package "distsql" (#5893) 2018-02-24 18:52:09 +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
6e33a6a081 distsql, executor: rename "SelectDAG" to "Select" (#5887) 2018-02-22 10:57:40 +08:00
e6eb3ae9f5 executor, metrics: add metrics for expensive executors and statement nodes (#5798) 2018-02-09 12:15:20 +08:00
1af95b876f executor/builder: check builder error when build child plan of hash join (#5822)
nil child exec will cause panic.
2018-02-08 18:45:38 +08:00
5d91dbd5a1 executor: pass operator label from Plan to Executor (#5821) 2018-02-08 13:33:11 +08:00
2a2e8c4775 executor: join don't need any inner filter. (#5767) 2018-02-01 19:48:18 +08:00
d95f96505a *: refine join result generator to return MaxChunkSize chunk (#5715) 2018-01-31 20:00:59 +08:00
775dcf4503 stats: support 'load stats' command (#5724) 2018-01-31 17:25:27 +08:00
f1eefc147b *: handle dirty table in StmtTxn (#5711) 2018-01-31 02:30:06 -06:00
93a042bc95 plan, executor: make explain more clear. (#5742) 2018-01-29 19:12:45 +08:00
e09aa114b1 executor: fix MaxOneRow.NextChunk (#5716) 2018-01-26 11:37:48 +08:00
6fb97e8f25 executor: correct the unsigned pk's behavior. (#5641) 2018-01-16 18:21:10 +08:00
d6d9419cb6 executor: remove old, never used "IndexLookUpJoin" (#5649) 2018-01-16 13:39:06 +08:00
2550969cae aggregation, plan: split the presentation and evaluation layers of aggregation functions (#5635) 2018-01-15 15:48:03 +08:00
3ce567630b executor: store column's fieldType in executor (#5619) 2018-01-12 16:57:31 +08:00
3cff21e5b1 plan, executor: avoid children type assertion. (#5616) 2018-01-12 15:39:50 +08:00
f8a2c807fd executor: support Chunk for ExecuteExec (#5410) 2018-01-11 18:38:12 +08:00
f4fa60d306 executor, expression: support chunk for HashJoinExec (#5439) 2018-01-10 22:06:58 +08:00
3cd10669a0 plan, executor: change 'out of order' to 'keep order'. (#5607) 2018-01-10 15:57:31 +08:00
b7e7cd5d9a executor: lazily initialize InsertValues.colDefaultVals, because not every insert statement needs it. (#5589) 2018-01-09 22:36:04 +08:00
eddff3429a *: importing data reduce memory allocations. (#5549) 2018-01-07 12:48:07 +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
bc459c5261 executor: support Chunk for HashAggExec (#5244) 2018-01-06 10:21:52 +08:00
73e47e0e30 plan: refine the design of schema (#5541) 2018-01-05 12:54:24 +08:00
019dbb7c9b executor: support Chunk for StreamAggExec (#5490) 2018-01-03 19:47:18 +08:00
b0921f9d27 executor: implement NextChunk interface for UnionScanExec (#5432) 2017-12-26 20:08:11 +08:00
b543bcc7df executor: joinGenerator use chunk.Iterator (#5500)
So NestedLoopApply can use *chunk.List to generate results and reuse the memory.
2017-12-26 18:47:29 +08:00
fa62e9fd01 *: merge ranger.IndexRange and ranger.ColumnRange. (#5485) 2017-12-26 16:08:36 +08:00
ccc10a56a6 executor: support Chunk for NestedLoopApply (#5475) 2017-12-26 13:37:19 +08:00
46fd1eb536 executor: support Chunk for ShowExec (#5456) 2017-12-25 21:29:56 +08:00
7159dd0ef6 executor: support Chunk for TableScanExec (#5443) 2017-12-22 19:52:43 +08:00
232ecbeca0 executor: support Chunk for MergeJoinExec (#5312) 2017-12-22 16:47:22 +08:00
855df184e1 executor: support Chunk for TableDualExec (#5395) 2017-12-22 16:37:21 +08:00
a386528393 executor: merge ApplyExec and NestedLoopJoin into NestedLoopApply. (#5471)
NestedLoopJoin is only used in ApplyJoinExec and ApplyJoinExec only has NestedLoopJoin.
Merge them into one simplifies the logic.
2017-12-22 13:44:43 +08:00
2c6d1cf8fa plan,executor: remove HashSemiJoin (#5467)
HashSemiJoin is only used in Apply, it exists only because NestedLoopJoin doesn't support SemiJoin type.
This PR support SemiJoin type in NestedLoopJoin executor, so HashSemiJoin can be removed.
2017-12-22 12:25:42 +08:00
90401445d2 *: collect and store query feedback (#5438) 2017-12-22 11:33:05 +08:00
c4fb12d60e executor: support Chunk for LoadData (#5465) 2017-12-21 22:44:59 +08:00
103f6b37f0 plan, executor: index join enhancement. (#5425) 2017-12-21 16:47:44 +08:00
fe7900f176 executor: DeleteExec suport NextChunk (#5368) 2017-12-21 15:57:56 +08:00