Commit Graph

635 Commits

Author SHA1 Message Date
5f393fde7e *: support user defined variable and SET clause in LOAD DATA statement (#18753) 2020-08-03 10:42:10 +08:00
5dd7cd8553 planner/core: implement Explain for the new partition table (#18834)
Co-authored-by: lysu <sulifx@gmail.com>
2020-07-30 15:37:02 +08:00
a1dc4381c5 planner,executor: implement PartitionTable executor for the three reader (#18823) 2020-07-30 11:00:55 +08:00
6ce8f0f56a txn: support pessimistic transaction amend for specific ddls (#18447) 2020-07-29 11:35:31 +08:00
8b19d67bad executor: add runtime information for point-get executor (#18666) 2020-07-28 14:20:36 +08:00
56fd348d20 executor: support index merge on cluster index (#18699)
* executor: support index merge on cluster index

* fix fmt

* fix

* fix

* fix

* fix

* address comments

* address comments

* address comments

* fix

* fix

* fix

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-27 18:09:32 +08:00
f3554241bb planner, executor: support except and intersect set operator (#18459)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-27 17:56:07 +08:00
f6ef1c371f executor: implement parallel apply (#18044) 2020-07-27 17:49:28 +08:00
29178dfa8d planner, executor: support broadcast join for tiflash engine. (#17232)
* support batch cop for tiflash

* support batch cop

* support join push down to tiflash

* refine

* change pb

* push join

* fix

* add hint

* refine hint

* add ranges

* fix

* fix

* fix push down

* fix index

* enable distsql for join

* add a session var to disable/enable broadcast join

* fix bug

* fix bug

* tiny fix

* enable cast decimal pushdown to tiflash

* fix

* fix bc join bug

* make broadcast plan stable

* refine code

* fix bug

* basic support for multi table broadcast join

* fix bug

* basic cbo for broadcast join

* improve

* fix bug

* remote useless code

* add tests

* pass unit tests

* refine code

* support execute summary info for broadcast join

* fix bug in explain for broadcast join

* format code

* remove un-needed code

* fix make dev

* address comments

* Hanfei/join merge (#7)

* enable exec details for batch cop

* format code

* fix test

* change tidb_opt_broadcast_join to global vars

* Ban cartesian join to be pushed down to TiFlash (#8)

* merge master (#10)

* merge master

* fix bug

* fix bug

* fix ut

* check session var conflict

* Add perfer local hint for broadcast join (#12)

* update

* remove useless code

* remove useless code

* update parser

* add test for prefer local join

* use bcj_local

* update go.mod

* refine planner

* refine comments

* fix make dev

* fix make dev

* update parser

* address comments

* fix make dev

* disable broadcast join when new collation is enabled

* Update planner/core/exhaust_physical_plans.go

Co-authored-by: Zhuomin(Charming) Liu <lzmhhh123@gmail.com>

* address comments

* fix

* address comments

* fix tests

* address comments

Co-authored-by: xufei <xufeixw@mail.ustc.edu.cn>
Co-authored-by: xufei <xufei@pingcap.com>
Co-authored-by: 虎 <ichneumon.hu@foxmail.com>
Co-authored-by: Zhuomin(Charming) Liu <lzmhhh123@gmail.com>
2020-07-27 12:41:36 +08:00
baf6c99b95 *: fix a bug causes indexed virtual generated column return wrong value and refine admin check table (#18408) 2020-07-24 12:59:47 +08:00
a6971dd685 *: support 'admin check table' on clustered index table (#18346) 2020-07-14 15:59:37 +08:00
77aecd4b27 executor, planner: support split table regions on clustered index (#18465) 2020-07-13 21:40:40 +08:00
ff94f2be2d information: Fix issue of query information_schema.columns cost too much memory when there are lots of tables in TiDB (#18362) 2020-07-08 14:23:00 +08:00
5f983b860f planner,executor,infoschema: add system tables tiflash_tables and tiflash_segments (#18092) 2020-07-07 21:45:59 +08:00
658132fcf3 planner: refactor handle columns (#18391) 2020-07-07 12:26:14 +08:00
b178de06ad executor: Trace the memory usage of AggFunc in HashAggExec (#18257) 2020-07-06 20:48:41 +08:00
daad2699dd *: support clustered index for index join (#18204) 2020-07-01 16:15:51 +08:00
3b63270909 telemetry: Add telemetry initial implementation (#18180)
Signed-off-by: Breezewish <me@breeswish.org>

Co-authored-by: crazycs <crazycs520@gmail.com>
Co-authored-by: Lynn <zimu_xia@126.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-06-24 14:41:46 +08:00
5250f7f53f *: support clustered index in double read (#18127) 2020-06-23 15:33:38 +08:00
c98514e751 executor: unify executor concurrency (#16999) 2020-06-22 17:39:32 +08:00
7daa4a7f88 *: fix bugs that creating index on clustered index table or table with the virtual generated column (#18114) 2020-06-19 19:58:37 +08:00
ad598e431a executor: add the cache for apply executor (#17039) 2020-06-17 21:24:12 +08:00
8943b1edc4 *: fix analyze on clustered index miss some handle columns (#18004) 2020-06-15 15:43:13 +08:00
7c3e9d2427 *: support analyze on cluster index (#17895) 2020-06-15 10:51:33 +08:00
b2922a7098 executor: remove unused code (#17923)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-06-11 02:16:42 +08:00
c9c9f873e9 planner: do correlated column's datum match in physical optimize phase (#17578) 2020-06-09 14:56:38 +08:00
88dfb22dc5 executor: support batch-get cluster index & add test case (#17858) 2020-06-09 13:40:47 +08:00
b05327509c session/statistics: discard feedbacks from delete / update (#17452) 2020-06-08 14:34:58 +08:00
d66d5028da *: support plain insert on cluster index table (#17674) 2020-06-05 13:23:43 +08:00
552e7709de *: refactor decoder to avoid useless fieldType convert (#17632) 2020-06-03 18:13:56 +08:00
cfbd754653 planner,executor,infoschema: add system table table_storage_stats (#15056) 2020-06-02 23:17:46 +08:00
b923b9e5de util/admin: support admin cleanup index on the partition table (#17203) 2020-05-26 13:13:40 +08:00
2bdf6a01cc util/admin: support admin check index on partition table (#17183) 2020-05-25 21:25:33 +08:00
4078eb4ae5 util/admin: support admin recover index on the partition table (#17195) 2020-05-20 17:10:44 +08:00
c60ea27e6c *: fix partition selection for the update statement (#17285) 2020-05-20 13:05:44 +08:00
308f104535 executor: fix the wrong result when use index_merge on the partition (#17032) 2020-05-12 16:23:05 +08:00
6a49bb4a84 *: fix a bug which causes function return truncated result (#17101) 2020-05-12 12:54:35 +08:00
3224393c7f executor: fix wrong plan type for dataReaderBuilder error (#17028) 2020-05-08 14:34:45 +08:00
7ebcc20398 executor: support GROUP_CONCAT(ORDER BY) (#16591) 2020-05-06 18:41:22 +08:00
43764a59b7 RFC + Support of BACKUP and RESTORE statements (#15274) 2020-04-30 19:35:56 +08:00
51dabaabef *: refactor Handle in executor package (#16871) 2020-04-28 21:27:19 +08:00
af376db3dc *: refactor Handle in tablecodec and rowcodec (#16705)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-04-23 18:55:59 +08:00
e3669cb1da executor: support 'SET CONFIG' syntax to change configs of TiKV/PD instances (#16480) 2020-04-23 17:09:19 +08:00
62e4d588a8 Makefile: add unconvert to inspect unnecessary type convert (#16549) 2020-04-22 23:01:59 +08:00
b1d11a7091 *: rename statement summary tables (#16188) 2020-04-15 15:30:32 +08:00
e90aac2710 executor: add config EnableCollectExecutionInfo (#15493) 2020-04-13 20:45:25 +08:00
49ee75a0a5 planner, executor: enable inline projection for merge join (#15463) 2020-04-09 15:58:32 +08:00
af0a49cb7a [store/tikv] support batch coprocessor for TiFlash (#16030) 2020-04-09 13:01:09 +08:00
5a2f7da485 executor: avoid allocating too much memory in newRowHashMap wi… (#15963) 2020-04-01 21:07:45 +08:00
4b5f8bf389 executor, infoschema: Migrate dataForTiKVStoreStatus from package infoschema to executor (#15591) 2020-04-01 12:08:17 +08:00