Commit Graph

18 Commits

Author SHA1 Message Date
f1f9230264 mpp: Fix the crash or error when mpp generate empty task list. (#31658)
close pingcap/tidb#31636
2022-01-14 15:25:42 +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
52e89cb8bf planner/core: support union all for mpp. (#24287) 2021-06-02 14:15:38 +08:00
ec618f1619 planner: support set tidb_allow_mpp to 2 or ENFORCE to enforce use mpp mode. (#24516) 2021-05-12 18:05:40 +08:00
xhe
2ea64b28fd executor,distsql: clean up useless interface (#23885) 2021-04-09 21:30:33 +08:00
9bbda60198 planner, sessionvar: avoid sending same task id to TiFlash (#23747)
Co-authored-by: Zhuhe Fang <fzhedu@gmail.com>
2021-04-09 20:22:18 +08:00
6cdfaab99f planner: fix correlated columns in filter or access in MPP apply (#23509) 2021-03-26 20:21:24 +08:00
fe250b9efb planner: fine grained collation control for mpp plan (#23584) 2021-03-26 18:31:23 +08:00
40b92181d0 planner/core: convert decimal type for mpp join before shuffling. (#23191)
* planner: convert decimal type for mpp join before shuffling.

* fix bug and add code

* add some comments

* fix typo

* fix test

* add test and fix

* address comments

* add more tests

* address comments

* address comments

* address comments

* address comments

* add tests

* refine test

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-03-26 00:16:58 +08:00
cd199b23aa planner: not push down mpp/join to TiFlash in some cases that TiFlash not supported the query (#23259) 2021-03-12 21:34:55 +08:00
6b69883410 MPP: Kill mpp queries (#23056)
* run ok

* update comments

* send cancle cmd to all tiflash stores

* updated

* log error if sending failed

* update comments

* disable send task when being killed

* update function name

* add test for kill mpp when mocking grpc hang

* update imports

* update comments

* clean go.mod

* updated

* use cancel to avoid goroutine leak, ensure cancellMppTasks being called just once

* update go.mod

* add test for avoiding goroutine leak

* update test

* update test

* remove unnecessary leak test
2021-03-12 17:27:30 +08:00
bafa0cc49d planner/core: let mpp support partition tables (#22662) 2021-03-04 20:56:54 +08:00
ee876397ac unistore/cophandler: change the logic of mpp execution in unit test. (#22428) 2021-02-01 19:06:42 +08:00
caa8c16cac execution: support explain analyze in mpp execution. (#22053) 2021-01-07 17:46:59 +08:00
5e67a597cc planner, store/tikv, executor:Support shuffled hash join and refine codes (#20894) 2020-12-28 15:14:15 +08:00
f5a3a38bfe *: fix bug that broadcast join/MPP not compatible with clustered index (#21663) 2020-12-15 11:42:55 +08:00
369c12f779 [planner, executor, kv]: refine and extract mpp codes to the right place (#20691) 2020-11-02 14:30:47 +08:00
0d613a2dfa [executor, store/tikv]: implement a prototype for MPP framework. (#19954) 2020-10-26 14:46:47 +08:00