Commit Graph

1149 Commits

Author SHA1 Message Date
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
ec1b40d5b3 executor: Close() executors when Open() returns an error to avoid goroutine leak (#5469) 2017-12-22 12:38:07 +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
c37e104a30 fix issue5462 (#5463) 2017-12-21 18:03:54 +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
3c418c5617 executor: implement NextChunk for ReplaceExec (#5370) 2017-12-21 13:41:21 +08:00
3533efbb4a executor: support Chunk for GrantExec (#5459) 2017-12-21 13:14:02 +08:00
6a306e4f27 executor: support Chunk for AnalyzeExec (#5452) 2017-12-21 11:17:20 +08:00
5c882361cd executor: support Chunk for SimpleExec (#5453) 2017-12-21 11:04:16 +08:00
b35e024ace executor: support Chunk for DeallocateExec (#5457)
* executor: support Chunk for DeallocateExec

* fix build
2017-12-21 10:50:44 +08:00
13fc8fcd27 executor: support Chunk for RevokeExec (#5458)
* executor: support Chunk for RevokeExec

* fix build
2017-12-21 10:32:48 +08:00
6608dbdc2f executor: fix a bug of NewIndexLookUpJoin's Next(). (#5455) 2017-12-20 20:57:12 +08:00
f6d0599dea plan, executor: only rebuild range when using prepare cache. (#5442) 2017-12-19 15:49:56 +08:00
163c944397 executor: support Chunk for ShowDDLJobsExec (#5412) 2017-12-19 14:17:19 +08:00
65b2b0d452 *: Set the batch delete/insert size by session variable (#5413)
We hardcode it to 20k. But if the row size is large. It will still break
the transaction size limitation. So we need to provide a way to set it
dynamicially.
2017-12-17 21:11:18 -06: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
e9c6cc6154 executor: support Chunk for DDLExec (#5417) 2017-12-15 20:40:58 +08:00
f8c0aaf0c9 parser, expression: support SEPARATOR in group_concat aggregate function (#5420) 2017-12-15 16:36:13 +08:00
e811561336 fix issue 5384 (#5414) 2017-12-15 15:39:24 +08:00
82b52f53bb executor: support Chunk for PrepareExec (#5408) 2017-12-15 10:15:34 +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
d6b69ad7ee executor: new index lookup join executor for Chunk (#5382) 2017-12-14 17:37:36 +08:00
37eb540386 executor: support Chunk for ExplainExec (#5398) 2017-12-14 17:07:44 +08:00
f1e89cde19 *: use lower-case of github.com/sirupsen/logrus (#5400)
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus

* vendor: update pd

* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +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
d209a36aaf executor: support Chunk for SetExecutor (#5397) 2017-12-14 09:28:49 +08:00
713bc797bb *: clear delta info when roll back transaction (#5390) 2017-12-13 15:35:07 +08:00
581002b8f7 plan, executor: only set DefaultValues in agg push down. (#5383) 2017-12-12 21:31:58 +08:00
2edc8dcfab executor: fix a bug when apply meets index join (#5381) 2017-12-12 20:25:27 +08:00
8825d9b998 executor: support Chunk for joinResultGenerator (#5357) 2017-12-12 13:29:51 +08:00
f355030858 executor: remove the useless encode (#5366) 2017-12-11 18:20:54 +08:00
6ca4382dba *: fix update JSON field. (#5345) 2017-12-11 11:39:14 +08:00
8f5f071c9b executor: InsertExec support NextChunk (#5352) 2017-12-10 22:01:31 +08:00
a7b0a1f915 server,tidb: move cancel function from session to clientConn (#5346) 2017-12-09 15:27:58 +08:00
a2fb741191 *: Chunk add context parameter (#5348) 2017-12-09 11:23:40 +08:00
c9245f52c2 plan: add hint to force to choose hash join. (#5315) 2017-12-08 20:02:45 +08:00
cbf12b4fd7 executor: fix join result generator's bug. (#5332) 2017-12-07 22:41:35 +08:00
8f199befc9 executor: reduce a comparison in union scan (#5336) 2017-12-07 19:40:32 +08:00
be60bcfbc3 executor: avoid double closing child in "NestedLoopJoinExec" && "HashSemiJoinExec" (#5329) 2017-12-06 23:22:52 +08:00
8dfa0b8849 plan, executor: add physical plan for max1row, dual and exists (#5324) 2017-12-06 17:18:08 +08:00
8ec4a41916 plan: make show no longer a logical/physical plan (#5321) 2017-12-06 16:31:32 +08:00
38f794d875 plan, executor: add physical proj and topn. (#5316) 2017-12-06 13:30:58 +08:00