Commit Graph

496 Commits

Author SHA1 Message Date
7bfa8967e1 executor: rename HashJoin.outer and inner to probe and build (#13045) 2019-10-31 11:43:36 +08:00
9ed376ada2 util/admin: support admin check table on partition table (#12796) 2019-10-29 20:16:37 +08:00
36f0f37b40 expression, planner: remove some fields from `expression.Colum… (#12573) 2019-10-29 15:48:26 +08:00
bb1c5c8493 executor: fix the projection upon the indexLookUp in indexLookUpJoin can't get result. (#12889) 2019-10-24 11:41:59 +08:00
34b3c9a641 executor: fix data race in GetDirtyTable() (#12767) 2019-10-23 13:57:30 +08:00
e1ba309148 executor: make IndexHashJoin support keeping the outer order (#12349) 2019-10-17 14:48:24 +08:00
cc991d90d3 executor: support index lookup merge join in executor. (#12024) 2019-10-14 19:21:33 +08:00
a64ee14279 executor: support projection as inner child of index join (#12640) 2019-10-14 17:51:50 +08:00
99a4e602fb *: support split partition table region (#12213) 2019-10-14 15:40:45 +08:00
ebc122bb48 *: support where in admin show ddl jobs statement (#12484) 2019-10-11 10:47:13 +08:00
c0d6185144 planner: implement the BatchPointGetPlan to improve the BatchPointGet performance (#12322) 2019-10-10 16:56:03 +08:00
a177d46663 executor: add index hash join benchmark (#12564) 2019-10-09 17:02:46 +08:00
99a5432dce *: encode the returned data using the Chunk format in mocktikv (#12023) 2019-09-28 20:02:26 +08:00
095bee9655 executor: support table reader executor read from tiflash. (#12371) 2019-09-27 15:31:04 +08:00
1fe9773726 planner: introduce an individual physical plan for indexNestedLoopHashJoin (#12139) 2019-09-24 21:18:45 +08:00
8179558274 planner, executor: push limit down into IndexLookUpReader executor (#12262) 2019-09-24 14:16:16 +08:00
8261a41223 planner: make every plan explainable (#12183) 2019-09-18 22:49:07 +08:00
d438e103be executor: load data statement, separate data preparing routine and commit routine (#11533) 2019-09-16 19:46:12 +08:00
39e9c9fd7a *: add max/avg cop response time for TableReader, IndexReader and IndexLookupReader. (#12003) 2019-09-11 20:36:45 +08:00
b5bb641a94 executor: fix index hash join joiner race (#12072)
* fix index hash join joiner race

* add comment
2019-09-09 16:51:21 +08:00
4b911b8fdc planner: don't DoOptimze when build show (#12005) 2019-09-09 13:01:11 +08:00
dd25ed0c16 planner: extract basePhysicalJoin for several physical joins (#12029) 2019-09-06 14:49:06 +08:00
845061351d planner: support index_lookup_merge_join in physical plan. (#11338) 2019-09-04 13:46:05 +08:00
d9e7bd315e executor: support index nested loop hash join (#8661) 2019-09-03 13:45:53 +08:00
1ff620d4d0 executor: reorg codes for hashtable in HashJoinExec (#11937) 2019-09-03 13:34:23 +08:00
4cd5d15d97 *: improve plan cache param eval and insert const (#10746) 2019-08-27 11:11:01 +08:00
59ea7460a8 planner: PointGet don't rely on names in expression.Column (#11779) 2019-08-26 15:40:39 +08:00
1b998ce4f6 *: record index name in the slow log instead of index id (#11795) 2019-08-22 14:27:47 +08:00
8b679ed3e2 executor: fix panic when execute change pump state (#11730) 2019-08-22 13:40:45 +08:00
2addc25984 planner: use BatchPointGet to improve SELECT ...WHERE IN performance (#11750) 2019-08-20 19:10:35 +08:00
8a161721f1 planner, expression: remove TblID2Handle from Schema (#11152) 2019-08-16 13:02:16 +08:00
036e7e207d *: support new 'log' format for trace (#11681) 2019-08-09 12:43:33 +08:00
fe038642e5 *: refactor cost model formulas and constants (#10581) 2019-08-07 17:44:09 +08:00
cffd04518c executor: no need to wait for fetchInnerRows if buildHashTableForList fails, and clean code (#11571) 2019-08-02 17:07:43 +08:00
59e3eb75cd *: speed up the operation of "admin check table" (#8572) 2019-07-31 17:11:30 +08:00
da8e7d267c executor: refactor union_scan executor by using txn_mem_buffer_reader (#10673) 2019-07-30 17:40:33 +08:00
85c790ec97 planner, executor: tiny refactor (#11420) 2019-07-26 19:31:06 +08:00
268cbf1a5d stats: support more analyze options (#11278) 2019-07-25 13:25:24 +08:00
f8912049f5 *:add opt_rule_blacklist in mysql tables. (#11096) 2019-07-24 13:36:29 +08:00
119d532979 executor: load data/batch insert improvement reducing memory a… (#11284) 2019-07-23 18:41:52 +08:00
3b6d2f475f executor/split: return split result when do split region and refine split timeout logic. (#11259) 2019-07-23 17:35:13 +08:00
c8ed781d51 executor: push-down LoadDataStmt in distsql (#11067)
moving function `statementContextToFlags` to `StatementContext.PushDownFlags()`

Co-authored-by: Lonng <heng@lonng.org>
Co-authored-by: Foreyes <foreyes_1002@163.com>
2019-07-14 17:58:49 +08:00
bdec3414e7 executor: fix the behavior when index join meet prefix index (#11081) 2019-07-12 17:48:35 +08:00
5c436bb1d6 planner: support subquery in SHOW statement (#10942) 2019-07-11 23:56:51 +08:00
04cfda8699 *: add show table regions syntax (#10612) 2019-07-10 11:54:52 +08:00
8104494b91 plugin: support dynamic enable/disable plugins (#11122) 2019-07-09 13:02:50 +08:00
c5a157a883 *: revert all of the radix-join-related commits (#10926) 2019-06-24 23:35:15 +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
cd8c4e6e37 *: add a blacklist to disallow pushing down specific expressions (#10688) 2019-06-12 13:54:33 +08:00