Commit Graph

42 Commits

Author SHA1 Message Date
afbef28e56 executor: TiFlash supports stale read (#40048)
close pingcap/tidb#40047
2022-12-27 19:06:16 +08:00
c4f6de159b planner: PhysicalPlan memory trace 7 (#38030)
ref pingcap/tidb#37632
2022-09-23 15:29:43 +08:00
170dafc7e1 types: merge json and types pkg (#37578)
close pingcap/tidb#37577, close pingcap/tidb#37628
2022-09-05 19:42:55 +08:00
157c178f27 *: seperate TxnScope and ReplicaReadScope (#35877)
close pingcap/tidb#31772
2022-07-05 11:33:02 +08:00
c16291392a *: replace types.NewFieldTypeBuilder() API with NewFieldTypeBuilderP() to avoid misuse (#34494)
close pingcap/tidb#34490
2022-05-09 22:00:33 +08:00
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
d23a81488a *: Move stale read context to TxnManager (#33812)
close pingcap/tidb#31954, close pingcap/tidb#33014, close pingcap/tidb#33832
2022-04-25 16:52:51 +08:00
886c8a73f7 executor: migrate test-infra to testify for executor_required_rows_test.go (#32680)
close pingcap/tidb#28576
2022-03-01 18:57:46 +08:00
267c960633 executor: migrate test-infra to testify for executor_pkg_test.go (#29045) 2021-10-31 12:50:50 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
799591a06f session: read local dc replicas automatically for stale read (#25525)
* fix select

Signed-off-by: yisaer <disxiaofei@163.com>
2021-06-18 17:13:38 +08:00
xhe
9189ec66ac *: stale reads compatible with prepare (#25156) 2021-06-11 19:32:35 +08:00
0f151af7c5 *: add telemetry support for CTE (#25022) 2021-06-03 14:46:27 +08:00
f9cd7ed69d planner, executor: parallelize stream aggregation with shuffle. (#21095) 2020-11-25 15:37:51 +08:00
a2e2ce6339 *: use int instead of fmt.Stringer as executor id (#19207) 2020-08-19 13:39:31 +08:00
7ebcc20398 executor: support GROUP_CONCAT(ORDER BY) (#16591) 2020-05-06 18:41:22 +08:00
49ee75a0a5 planner, executor: enable inline projection for merge join (#15463) 2020-04-09 15:58:32 +08:00
0d10f91539 executor: check for null values when comparing different groups during streamAgg (#15742) 2020-03-27 16:42:14 +08:00
574a014f70 *: deprecate system variables tidb_mem_quota_XXX (#15084) 2020-03-10 15:57:03 +08:00
f2fa5c5fd5 expression: consider collations when comparing strings (#14913) 2020-02-25 15:06:37 +08:00
4755a9b9ef util: revert util/mathutil (#14744) 2020-02-13 11:33:04 +08:00
8cbacf0d7c wasm: fix compile error for wasm (#14160)
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
2019-12-23 15:17:46 +08:00
a1b90715ee executor: fix DATA RACE caused by the vecGroupChecker (#13948) 2019-12-06 18:49:18 +08:00
98519eb30b executor: init the final recv channel of hash agg with enough… (#13811) 2019-12-06 17:06:51 +08:00
8fab2548d0 executor: show operators' disk consumption in results of EXPLAIN ANALYZE (#13764) 2019-12-02 17:04:29 +08:00
6aa9c3f58b executor: make the groupChecker vectorized (#12903) 2019-11-27 07:38:36 -06:00
dd25ed0c16 planner: extract basePhysicalJoin for several physical joins (#12029) 2019-09-06 14:49:06 +08:00
d244723a5e executor: remove unused structure RecordBatch (#10891) 2019-06-26 15:26:16 +08:00
c59028a2b5 *: let baseFuncDesc.typeInfer return error instead of panic (#10910) 2019-06-24 13:09:14 +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
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
7447f04409 executor: trace and control memory usage in DistSQL layer (#10003) 2019-04-12 16:43:55 +08:00
435a081401 executor: control Chunk size for TableReader&IndexReader&IndexLookup (#9452) 2019-04-01 13:13:39 +08:00
821af9e9f6 executor: control Chunk size for Joiners (#9614) 2019-03-19 21:30:21 +08:00
2f69a28d74 executor: control Chunk size for StreamAgg&HashAgg (#9512) 2019-03-06 16:44:52 +08:00
e767c5b5b0 increase wait time in TestProjectionParallelRequiredRows to fix CI problem (#9504) 2019-03-04 13:19:10 +08:00
3e0f51b474 executor: control Chunk size for Selection&Projection (#9398) 2019-02-26 14:24:30 +08:00
7a240818d1 executor: control Chunk size for TopN&Sort (#9364) 2019-02-21 13:00:41 +08:00
789f7006ac Control the number of rows in chunks returned by LimitExec (#9354) 2019-02-19 18:21:55 +08:00