7d32a7e847
executor: remove unused field ( #6232 )
2018-04-08 21:09:47 +08:00
ccf6da1a46
*: rename NextChunk to Next ( #6214 )
2018-04-03 20:00:30 +08:00
17fb7d7872
executor: remove joinResultGenerator.emit and rename emitToChunk to emit ( #6216 )
2018-04-03 19:42:02 +08:00
83066fc954
executor: track memory usage for nested loop apply ( #6171 )
2018-04-02 13:54:12 +08:00
936d7b7d29
executor, memory: detach from parent when executor is closed ( #6148 )
2018-03-28 15:52:34 +08:00
eacca19bde
executor: remove Next function for NestedLoopApplyExec ( #6027 )
2018-03-20 10:44:07 +08:00
025ff38edf
executor: log the function stack when recovering from a panic ( #6010 )
2018-03-12 09:50:34 +08:00
4a52a6ae58
executor: remove Next for HashJoinExec ( #5991 )
2018-03-09 21:19:24 +08:00
50e98f427e
config: add validation for configuration ( #5864 )
2018-03-06 14:56:28 +08:00
ad814b0d6c
executor, util: employ memory Tracker to track memory usage during query execution ( #5826 )
2018-03-06 11:02:09 +08:00
07f1bac316
executor: add recover mechanism for join workers ( #5894 )
2018-02-24 19:12:17 +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
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
888bc2a602
*: uniform the way to iterate rows within a Chunk ( #5674 )
2018-01-22 11:34:04 +08:00
c5c0714cde
executor, sessionctx, util: log a warning when memory usage of HashJoinExec exceed threshhold ( #5658 )
2018-01-18 11:14:25 +08:00
8f1f0af39d
executor: close the children of HashJoinExec and UnionExec after close goroutine finish ( #5669 )
2018-01-17 23:09:25 +08:00
9f2ff293dd
*: make MVMap.Get() be able to reuse the value buffer pre-allocated ( #5644 )
2018-01-16 15:15:25 +08:00
3ce567630b
executor: store column's fieldType in executor ( #5619 )
2018-01-12 16:57:31 +08:00
4dd1fc208d
codec, expression: support encoding a Chunk row ( #5578 )
2018-01-11 20:29:31 +08:00
20f85865f0
executor: close hashjoin goroutines as soon as possible to avoid unexpected error ( #5620 )
2018-01-11 16:22:44 +08:00
f4fa60d306
executor, expression: support chunk for HashJoinExec ( #5439 )
2018-01-10 22:06:58 +08:00
ecbd60c3ff
*: add arguement StatementContext to Encode functions. ( #5566 )
2018-01-06 17:31:08 +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
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