a2e2ce6339
*: use int instead of fmt.Stringer as executor id ( #19207 )
2020-08-19 13:39:31 +08:00
0b035c850a
util: oom-action waits spilling result when acting again ( #18381 )
2020-07-23 14:08:20 +08:00
9d9f330a4b
executor, util: fix spilling disk when oom. ( #16895 )
2020-06-30 16:32:14 +08:00
7ebcc20398
executor: support GROUP_CONCAT(ORDER BY) ( #16591 )
2020-05-06 18:41:22 +08:00
1a5cdb595a
Executor: add disk tracker for Sort Executor ( #15903 )
2020-04-01 12:55:41 +08:00
574a014f70
*: deprecate system variables tidb_mem_quota_XXX ( #15084 )
2020-03-10 15:57:03 +08:00
13bf6cc196
executor: implement disk-based sort (Part 2) ( #14279 )
2020-02-07 09:39:53 +08:00
fc603b639d
executor: implement disk-based sort (Part 1) ( #13718 )
2019-12-18 14:52:17 +08:00
60bfdf5ba4
Revert "executor, util: rename original List to ListInMemory and add a new interface List ( #13353 )" ( #13363 )
...
This reverts commit 2b5f81add11497b5b5595b3ba16ac88cddf33a65.
2019-11-11 18:30:34 +08:00
2b5f81add1
executor, util: rename original List to ListInMemory and add a new interface List ( #13353 )
2019-11-11 15:50:43 +08:00
1ad073bf80
executor: show operators' memory consumption in results of EXPLAIN ANALYZE ( #11334 )
2019-07-24 10:53:02 +08:00
d244723a5e
executor: remove unused structure RecordBatch ( #10891 )
2019-06-26 15:26:16 +08:00
dc378a2cff
executor: tiny refactor the runtimeStats collection code ( #10917 )
2019-06-24 14:09:31 +08:00
8183f35563
executor: tiny clean up ( #10875 )
...
code refactor for the tracing related code
2019-06-20 16:35:59 +08:00
421de5ef20
executor,server: re-implement the kill statement by checking the Next() function ( #10841 )
2019-06-20 11:03:21 +08:00
f6be085bc6
executor: tiny refactor the Executor interface ( #10846 )
...
Introduce a base() method to get the baseExecutor, so we don't need to add
method from baseExecutor to the Executor interface any more
Before:
```
type Executor interface {
Open(context.Context) error
Next(ctx context.Context, req *chunk.RecordBatch) error
Close() error
Schema() *expression.Schema
retTypes() []*types.FieldType
newFirstChunk() *chunk.Chunk
}
```
After:
```
type Executor interface {
base() *baseExecutor
Open(context.Context) error
Next(ctx context.Context, req *chunk.RecordBatch) error
Close() error
Schema() *expression.Schema
}
```
2019-06-19 15:55:28 +08:00
d6396daa77
*: lazy eval explain id and tracker label ( #10139 )
2019-04-22 14:23:33 +08:00
e9653675dd
*: remove errors.Trace in main handle path ( #10033 )
2019-04-04 14:27:15 +08:00
7a240818d1
executor: control Chunk size for TopN&Sort ( #9364 )
2019-02-21 13:00:41 +08:00
a9c7c70596
planner, executor: inject proj below TopN and Sort if byItem contains scalarFunc ( #9197 )
2019-02-15 15:34:30 +08:00
ec833bc4d2
*: fix some lints produced by golangci-lint ( #8999 )
2019-01-16 16:44:49 +08:00
00c4ff4fa9
*: refactor Executor.Next() to receive RecordBatch ( #8994 )
2019-01-14 15:04:36 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
6fb260f8a6
*: redesign trace statement with json output ( #8357 )
2018-11-21 13:50:18 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
1d3bb7b47f
executor: fix panic when limit is too large ( #7936 )
2018-10-18 14:33:18 +08:00
458c0d1c27
executor: refine explain analyze ( #7888 )
2018-10-16 20:02:43 +08:00
d21f294393
*: make explain support explain anaylze ( #7827 )
2018-10-12 20:01:19 +08:00
05b37de16e
*: use chunk grow for simple executor ( #7540 )
2018-09-27 09:07:51 +08:00
e79bd946ed
*: change package name from plan to planner ( #7760 )
2018-09-25 11:16:39 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
5c2d21eab4
*: remove function "NewChunk" ( #6524 )
2018-05-14 13:43:19 +08:00
ccf6da1a46
*: rename NextChunk to Next ( #6214 )
2018-04-03 20:00:30 +08:00
936d7b7d29
executor, memory: detach from parent when executor is closed ( #6148 )
2018-03-28 15:52:34 +08:00
67c948b609
executor: refactor merge join ( #6078 )
2018-03-20 12:37:40 +08:00
d81f637bb8
executor: remove Next function for SortExec ( #6052 )
...
* executor: remove Next() function for SortExec and TopNExec
2018-03-16 08:43:16 +08:00
f59c5bedc0
executor: remove Next() function for TopNExec ( #6029 )
2018-03-13 16:33:55 +08:00
ad814b0d6c
executor, util: employ memory Tracker to track memory usage during query execution ( #5826 )
2018-03-06 11:02: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
888bc2a602
*: uniform the way to iterate rows within a Chunk ( #5674 )
2018-01-22 11:34:04 +08:00
3ce567630b
executor: store column's fieldType in executor ( #5619 )
2018-01-12 16:57:31 +08:00
c19307c41c
util, executor: refactor Chunk.AppendRow to handle virtual row ( #5563 )
2018-01-05 12:35:21 +08:00
a2fb741191
*: Chunk add context parameter ( #5348 )
2017-12-09 11:23:40 +08:00
6e851719b7
plan, executor: add physical operator for lock, limit and union all. ( #5301 )
2017-12-05 18:55:23 +08:00
a1b1bb45e8
executor: support Chunk for TopN. ( #5260 )
2017-12-04 22:00:05 +08:00
4c904639cf
*: add a session variable to control max chunk size ( #5233 )
2017-11-28 10:41:22 +08:00
20bd1b6842
executor: support chunk for Sort ( #5221 )
2017-11-27 20:39:26 +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
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00