602bcd2e40
*: fix some structcheck lint warnings ( #22983 )
2021-03-02 23:12:54 +08:00
fb84db123c
executor: make memory tracker for aggregate more accurate. ( #22463 )
2021-02-18 11:27:11 +08:00
31ddba99da
executor: fix The JSON Data can not import to TiDB correctly by load data ( #21043 )
2020-11-16 12:07:28 +08:00
272f964031
executor: support global kill ( #17649 )
2020-10-27 19:39:20 +08:00
0ed9f4d050
executor: tiny optimize slow_query performance and add related runtime stats ( #20200 )
2020-10-13 14:06:09 +08:00
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
906f18f7bf
util: make one SortedRowContainer is spilling at the same time. ( #18307 )
...
* fix
* fix
* fix
* fix
* fix
* fix
* add comments
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-07-06 15:00:38 +08:00
9d9f330a4b
executor, util: fix spilling disk when oom. ( #16895 )
2020-06-30 16:32:14 +08:00
a8da23c254
test: fix data race caused by update global config ( #17964 )
...
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com >
2020-06-12 13:05:27 +08:00
7ebcc20398
executor: support GROUP_CONCAT(ORDER BY) ( #16591 )
2020-05-06 18:41:22 +08:00
d259e90127
infoschema, planner, executor: add virtual system table `infor… ( #15121 )
2020-03-04 20:48:52 +08:00
5c68d537f4
*: support reload tls used by mysql protocol in place ( #14749 )
2020-03-03 10:01:39 +08:00
9fbefc50b5
*: implement inspection_summary system table which organizes metrics by link/module ( #14810 )
2020-02-18 22:39:19 +08:00
c7b43f3c75
executor: fix executor tests for TestFlushPrivilegesPanic and TestSortSpillDisk ( #14681 )
2020-02-08 01:20:26 +08:00
13bf6cc196
executor: implement disk-based sort (Part 2) ( #14279 )
2020-02-07 09:39:53 +08:00
36f0f37b40
expression, planner: remove some fields from `expression.Colum… ( #12573 )
2019-10-29 15:48:26 +08:00
d244723a5e
executor: remove unused structure RecordBatch ( #10891 )
2019-06-26 15:26:16 +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
f67352d238
*: print an expensive log when a query exceeds time threshold ( #10350 )
2019-06-05 20:38:11 +08:00
9d74d6404f
planner, executor: index join enhancement ( #8471 )
2019-04-29 11:07:15 +08:00
5fcc7e2a61
executor: tiny clean up by removing unnecessary string creation ( #10213 )
...
* executor: clean up by remove unnecessary string creation
* check if id is nil
2019-04-22 15:32:15 +08:00
d6396daa77
*: lazy eval explain id and tracker label ( #10139 )
2019-04-22 14:23:33 +08:00
278c3e81b4
*: support EXPLAIN FOR CONNECTION ( #10030 )
2019-04-09 10:45:22 +08:00
09beefbe04
session,executor: performance improvement in SetProcessInfo ( #9681 )
2019-03-13 17:24:39 +08:00
33b4c3e3c8
executor: fix csv parser ( #9005 )
2019-01-15 22:46:23 +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
3128e9b98a
*: Hide "Mem" column from SHOW PROCESSSLIST ( #8543 )
2018-12-05 11:42:58 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
38f2fe0b60
executor,infoschema: check privilege for 'show processlist' ( #7858 )
...
"show processlist" requires the PROCESS privilege.
Otherwise, the user can see only his own threads.
2018-10-10 17:50:37 +08:00
05b37de16e
*: use chunk grow for simple executor ( #7540 )
2018-09-27 09:07:51 +08:00
7682a74d15
*: kill one's own connection doesn't require SUPER privilege ( #6954 )
...
`kill tidb connID`, if the user is the owner of that connection, there
is no need to check the SUPER privilege.
SessionManager interface is slightly modified.
2018-07-05 20:17:17 +08:00
8c666359a5
executor: handle \N as NULL in load data statement ( #6873 )
2018-06-29 19:42:24 +08:00
12dbd32854
*: rename NewRange to Range. ( #6368 )
2018-04-25 13:13:04 +08:00
27fa552fa6
*: show memory usage in "show processlist" ( #6266 )
2018-04-12 11:44:50 +08:00
ccf6da1a46
*: rename NextChunk to Next ( #6214 )
2018-04-03 20:00:30 +08:00
9c4cef8e04
executor: remove unused codes ( #6193 )
2018-03-30 19:38:07 +08:00
c981480094
executor: remove Next function for ShowExec ( #5998 )
2018-03-12 17:43:04 +08:00
27c65d25bb
executor, distsql: move "requestBuilder" from package "executor" to "distsql" ( #5903 )
2018-02-26 12:46:51 +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
ecbd60c3ff
*: add arguement StatementContext to Encode functions. ( #5566 )
2018-01-06 17:31:08 +08:00
fa62e9fd01
*: merge ranger.IndexRange and ranger.ColumnRange. ( #5485 )
2017-12-26 16:08:36 +08:00
103f6b37f0
plan, executor: index join enhancement. ( #5425 )
2017-12-21 16:47:44 +08:00
fb610e6429
*: change executor Next() interface to Next(goctx.Context) ( #5223 )
2017-11-26 21:17:33 -06:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00
4bfa5faf63
executor: Add unit test case for ShowExecutor. ( #4763 )
2017-10-16 10:50:14 +08:00
de27a91202
*: Merge adjacent handles when building key range ( #1696 )
2016-09-07 11:12:06 +08:00