Commit Graph

169 Commits

Author SHA1 Message Date
7dedfab169 executor: refactor hashjoin part6 (#39531)
ref pingcap/tidb#39061
2022-12-02 04:42:01 +08:00
23543a4805 *: merge the runtime stats in time to avoid using too many memory (#39394)
close pingcap/tidb#39413
2022-11-29 21:00:00 +08:00
d0b72a2cc7 executor: split hashjoin part5 (#39386)
ref pingcap/tidb#39061
2022-11-29 12:25:59 +08:00
fee8ed7431 executor: split hashjoin part4 (#39155)
ref pingcap/tidb#39061
2022-11-23 17:35:58 +08:00
bb0e8a18d2 executor: split hashjoin part3 (#39089)
ref pingcap/tidb#39061
2022-11-15 15:07:54 +08:00
b5e1f7a2e4 executor: split hashjoin into workers(part2) (#39079)
ref pingcap/tidb#39061
2022-11-11 16:31:53 +08:00
42ff5e6ec6 executor: split hashjoin into workers(part1) (#39063)
ref pingcap/tidb#39061
2022-11-11 10:47:54 +08:00
xhe
208478bf20 executor: fix hashjoin goleak (#39023)
close pingcap/tidb#39026
2022-11-10 14:49:53 +08:00
ea26284ea3 *: avoid special cases DATA RACE (#38918)
close pingcap/tidb#38914
2022-11-08 20:13:50 +08:00
0b3e1e9be0 *: Chunkreuse try reuse chunk in operator (#38607)
close pingcap/tidb#38606
2022-11-04 11:28:00 +08:00
ef95612e84 *: extend the semantic of mem-quota-query to mem-quota-session (#38423)
close pingcap/tidb#38429
2022-11-02 10:45:59 +08:00
7571d556aa executor: fix inl_hash join performance regression because of Iterator4Slice (#38741)
close pingcap/tidb#38695
2022-10-31 11:19:58 +08:00
e843278589 executor: fix HashJoinExec panic of closed channel (#38576)
close pingcap/tidb#37932
2022-10-26 20:17:56 +08:00
0823fdb6b3 planner, executor: implement the null-aware antiSemiJoin and null-aware antiLeftOuterSemiJoin (hash join with inner build) (#37512)
close pingcap/tidb#37525
2022-09-20 00:05:03 +08:00
5a8e1b2665 executor: exit all goroutines immediately when exceeded mem-quota (#37405)
close pingcap/tidb#37379
2022-09-14 14:12:58 +08:00
55e86e0037 util: use channel.Clear to empty channel (#37643) 2022-09-06 19:28:55 +08:00
3a74656a5a executor: introduce hashRowContainer.GetMatchedRows method (#36848)
close pingcap/tidb#36847
2022-08-03 20:34:05 +08:00
c060208b2f *: move config file option oom-use-tmp-storage to sysvar (#36679)
ref pingcap/tidb#33769
2022-08-02 16:58:05 +08:00
8a4d457068 executor: reuse iterator4Slice and Row/RowPtrs slice in HashJoin. (#34878)
ref pingcap/tidb#33877
2022-06-07 16:42:29 +08:00
56e1789cc4 planner: support MaxOneRow clone (#33888)
close pingcap/tidb#33887
2022-04-15 13:42:36 +08:00
8cf847a575 executor: add an unit test case for unreasonable invoking Close (#30696) 2021-12-16 13:04:35 +08:00
80ea2389d8 executor: HashJoinExec checks the buildError even if the probeSide is empty (#30471) 2021-12-09 14:17:57 +08:00
fa8cbd5888 executor: fix wrong result for join with enum type (#29375) 2021-11-05 16:29:03 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
282357e6b7 executor: calling child.Open() after initialization for HashJoin (#27499) 2021-09-14 12:16:41 +08:00
19d3b1f020 test: fix race of hash join (#27881) 2021-09-08 15:34:58 +08:00
6b9d0c53c7 util, executor: use a individual rowContainer for each probeWorker in HashJoinExec (#27577) 2021-09-07 17:22:57 +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
18cbfaac15 *: enable gosimple linter (#24617) 2021-05-14 09:15:38 +08:00
d388538719 *: turn on unused linter (#24212) 2021-04-23 13:19:54 +08:00
91cd5bf4bb executor: fix scope ambiguity of joinResult (#23876) 2021-04-21 00:53:52 +08:00
32d19b78e1 *: refine runtime stats display and tiny bug fix for metrics (#21022)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-11-26 16:35:25 +08:00
2e918a2e8f executor: specially handle empty input for apply's outer child aggregate (#20544) 2020-11-19 13:54:23 +08:00
2e4390b9c5 executor: Check if the query is killed when joining rows in HashJoin (#20270) 2020-10-28 20:16:02 +08:00
bada2801ac *: fix cop task runtime information is wrong in the concurrent executor (#19849)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-09-11 14:14:37 +08:00
221223b46b executor: add more runtime information for join executor (#19721)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-09-07 14:53:20 +08:00
1e9b519ff7 executor: clean outerMatchedStatus when HashJoin.Close is called (#19510) 2020-08-31 14:45:04 +08:00
e356136b72 *: annotate execution info in runtime/trace (#19407)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-27 11:23:36 +08:00
a2e2ce6339 *: use int instead of fmt.Stringer as executor id (#19207) 2020-08-19 13:39:31 +08:00
b8670fb231 executor: implement a concurrent hash table for Concurrent build (#16678)
* refine code of unsafeHashTable

* refine unsafeHashTable

* concurrentMapHashTable is ok

* update comments

* add comments

* add comments

* update make slickes

* update according to comments

* add comments

* update according to comments from liyuan

* remove useless estRows

* update test because the output of INL_hash_join does not promose order

* update testConcurrentMap

* update imports

* update test

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-10 19:32:19 +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
f0e5876353 util/execdetails: refactor execdetails information of runtime collect (#18530) 2020-07-15 20:05:29 +08:00
9d9f330a4b executor, util: fix spilling disk when oom. (#16895) 2020-06-30 16:32:14 +08:00
ad598e431a executor: add the cache for apply executor (#17039) 2020-06-17 21:24:12 +08:00
0d95b09e8a executor: Remove unnecessary information in explain analyze output (#16248) 2020-05-21 19:26:00 +08:00
e90aac2710 executor: add config EnableCollectExecutionInfo (#15493) 2020-04-13 20:45:25 +08:00
bce2d39d17 executor: fix naming of a confusing variable (#15797) 2020-03-30 09:38:15 +08:00
574a014f70 *: deprecate system variables tidb_mem_quota_XXX (#15084) 2020-03-10 15:57:03 +08:00
2c5170875d collation: add some collation tests for HashJoinExec, MergeJoinExec and SelectExec (#15067) 2020-03-03 17:33:18 +08:00
a4e8341add executor: fix offset of outerMatchStatus for outer hash join (#14773) 2020-02-13 18:57:04 +08:00