d210889a6c
*: trace the execution of the insert operation ( #11667 )
2019-08-09 14:22:03 +08:00
da8e7d267c
executor: refactor union_scan executor by using txn_mem_buffer_reader ( #10673 )
2019-07-30 17:40:33 +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
e9653675dd
*: remove errors.Trace in main handle path ( #10033 )
2019-04-04 14:27:15 +08:00
0b371ea4fa
executor: only use the transaction buffer for union scan ( #9428 )
2019-03-03 14:54:18 +08:00
8b84b94c96
*: fix union scan for partitioned table ( #8871 )
2019-02-28 13:43:45 +08:00
5a283a98dd
plan/executor: make semi joins null and empty aware ( #9051 )
2019-02-25 15:42:38 +08:00
ba68605ce6
*: use less memory when many rows inserted in one transaction ( #9272 )
2019-02-13 11:39:46 +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
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
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +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
b6a540a0f0
reuse chunk to reduce memory usage in union scan ( #7717 )
2018-09-17 11:34:19 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
f6dbad0f5c
*: move the dirty table modification to table package ( #7289 )
2018-08-07 15:38:01 +08:00
2fba9931c7
*: remove DatumRow ( #7165 )
2018-07-26 19:42:58 +08:00
cc8c38d6d8
executor: buffer snapshotChunk to avoid too many object memory allocation ( #6312 )
2018-04-18 19:42:46 +08:00
fe60be9f7f
executor: remove Row ( #6236 )
2018-04-08 22:28:25 +08:00
ccf6da1a46
*: rename NextChunk to Next ( #6214 )
2018-04-03 20:00:30 +08:00
a90ecea7dd
executor: remove some remained unused functions for removing Executor.Next ( #6112 )
2018-03-22 21:34:52 +08:00
c86da64bf5
executor: remove Next function for UnionScanExec ( #5996 )
2018-03-14 17:13:34 +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
f1eefc147b
*: handle dirty table in StmtTxn ( #5711 )
2018-01-31 02:30:06 -06: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
b0921f9d27
executor: implement NextChunk interface for UnionScanExec ( #5432 )
2017-12-26 20:08:11 +08:00
8f199befc9
executor: reduce a comparison in union scan ( #5336 )
2017-12-07 19:40:32 +08:00
fb610e6429
*: change executor Next() interface to Next(goctx.Context) ( #5223 )
2017-11-26 21:17:33 -06:00
cd914b6611
plan, executor: remove NeedHandle field ( #5144 )
2017-11-21 15:20:24 +08:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00
ed7f68ca9b
*: Add Row interface ( #4859 )
2017-10-23 11:36:28 +08:00
6f84392d40
*: optimize SortExec ( #4622 )
...
* *: change key of orderByRow from "key []types.Datum" to "key []*types.Datum"
* address comment
2017-09-25 19:50:26 +08:00
2750de80bc
*: tiny clean. ( #4222 )
2017-08-17 19:38:37 +08:00
e5ea06dec8
executor, plan: union scan reuse pk when it's handle. ( #4185 )
2017-08-17 13:07:51 +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
c5e864539f
executor: fix some bugs about new plan. ( #3231 )
2017-05-10 16:32:00 +08:00
ad52a2462c
executor: add open inteferce for Executor. ( #3221 )
2017-05-09 21:13:22 +08:00
858d76bbe3
executor: fixed comments warning. ( #3187 )
2017-05-01 19:19:32 +08:00
c237781cad
plan, executor: make Analyze a Plan ( #3130 )
...
* executor: remove indexExec's depedency on indexPlan
* plan, executor: make Analyze a Plan
* address comment
* address comment
* fix gofmt
2017-04-26 10:36:44 +08:00