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
ccc10a56a6
executor: support Chunk for NestedLoopApply ( #5475 )
2017-12-26 13:37:19 +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
581002b8f7
plan, executor: only set DefaultValues in agg push down. ( #5383 )
2017-12-12 21:31:58 +08:00
8825d9b998
executor: support Chunk for joinResultGenerator ( #5357 )
2017-12-12 13:29:51 +08:00
be60bcfbc3
executor: avoid double closing child in "NestedLoopJoinExec" && "HashSemiJoinExec" ( #5329 )
2017-12-06 23:22:52 +08:00
fb610e6429
*: change executor Next() interface to Next(goctx.Context) ( #5223 )
2017-11-26 21:17:33 -06: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
726c3a0fa9
executor: tiny refine for join ( #5099 )
2017-11-20 23:05:57 +08:00
14ed94132c
executor: fix issue #5132 , update handle id with some other unique keys report Duplicate keys. ( #5138 )
2017-11-20 11:06:28 +08:00
693787b103
Revert "plan: covert max/min to Limit + Sort operators ( #5105 )" ( #5127 )
...
This reverts commit 4b669b749e437a43a8d5c2674c4bd6f8bdcdedea.
2017-11-16 19:25:22 +08:00
4b669b749e
plan: covert max/min to Limit + Sort operators ( #5105 )
2017-11-16 15:53:36 +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
3e1d036336
*: log the caller of "terror.Log()" ( #4729 )
2017-10-10 11:26:43 +08:00
eb8df3519a
*: prepare to enforce errcheck, part1 ( #4670 )
2017-09-30 16:23:37 +08:00
7fb7263678
Optimize merging array elements ( #4444 )
2017-09-06 12:38:24 +08:00
c7c248eb91
executor: change struct row to []types.Datum ( #4072 )
2017-08-09 18:37:57 +08:00
059f6dd2f1
executor, expression, plan: remove rowMeta from row ( #3758 )
2017-08-04 18:37:31 +08:00
466e48c3de
executor, util: fix bug when the join's keys have different types. ( #3784 )
2017-07-18 16:28:08 +08:00
ad52a2462c
executor: add open inteferce for Executor. ( #3221 )
2017-05-09 21:13:22 +08:00
436eb24303
executor,store: fix a bug caused by HashJoinExec encode/decode ( #3225 )
...
HashJoinExec encodeRow method doesn't consider timezone,
but decodeRow method does, this introduce a bug.
2017-05-09 16:13:38 +08:00
0d6490efc4
*: interpret timestamp datum based on session's time_zone ( #3167 )
...
1. FromPackedUint don't consider time_zone any more, moved to Unflatten
2. use session's time_zone instead of time.Local
3. add a time.Location parameter to some Encode/Decode functions in tablecodec
2017-05-08 11:58:55 +08:00
858d76bbe3
executor: fixed comments warning. ( #3187 )
2017-05-01 19:19:32 +08:00
c646b59927
*: fix data race in join. ( #3159 )
2017-04-27 23:26:15 +08:00
7699d3fb76
*: refine EvalBool function. ( #3139 )
2017-04-25 22:07:17 +08:00
b698bb54c3
*: fix data race when defer cancel() is called ( #3068 )
...
* *: fix data race when defer cancel() is called
defer cancel() was introduced in this PR
https://github.com/pingcap/tidb/pull/3010
2017-04-17 17:17:07 +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
517e32b25c
store,executor: tiny changes, consider ctx ( #2748 )
2017-03-08 15:22:29 +08:00
4dcd7c8d41
*: fix bug about scalar subquery. ( #2674 )
2017-02-18 15:42:26 +08:00
128e8e86d5
executor: fix bug about left outer join. ( #2672 )
2017-02-17 20:27:26 +08:00
37977865df
*: add max1row info and refine scalar subquery's decorrelation. ( #2646 )
2017-02-17 19:25:00 +08:00
7520cb8972
fix issue2300 ( #2605 )
2017-02-08 19:48:51 +08:00
7ec875c952
executor: fix a bug of left outer semi join. ( #2573 )
...
* executor: fix a bug of left outer semi join.
2017-02-03 07:33:44 -06:00
7965666bce
executor: ajust some code. ( #2574 )
2017-01-30 09:45:50 +08:00