Commit Graph

153 Commits

Author SHA1 Message Date
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
0f7a3e838c executor: fix hash join panic after killing (#14712) 2020-02-11 10:15:34 +08:00
f2d0e90740 executor: Count the number of hash table collisions and build elapse during Hash Join. (#14423) 2020-02-05 13:37:23 +08:00
72b1f0e7b8 executor: correctly handle panic for hashjoin build phase (#14056) 2020-02-05 12:23:23 +08:00
174ff27943 *: fix static check issues (#14286) 2020-01-06 16:07:15 +08:00
a487748b46 executor: support merge join on disk (#13946) 2019-12-31 18:49:10 +08:00
ebc4fa9dee executor: resort fields for reducing the memory allocated (#14208) 2019-12-31 17:19:59 +08:00
8fab2548d0 executor: show operators' disk consumption in results of EXPLAIN ANALYZE (#13764) 2019-12-02 17:04:29 +08:00
6a59557500 executor: show operators' concurrency information in results of EXPLAIN ANALYZE (#13539) 2019-11-27 16:46:25 +08:00
b84c5a73ad executor: implement the execution part of the outer hash join (#12882) 2019-11-12 17:48:30 +08:00
60bfdf5ba4 Revert "executor, util: rename original List to ListInMemory and add a new interface List (#13353)" (#13363)
This reverts commit 2b5f81add11497b5b5595b3ba16ac88cddf33a65.
2019-11-11 18:30:34 +08:00
2b5f81add1 executor, util: rename original List to ListInMemory and add a new interface List (#13353) 2019-11-11 15:50:43 +08:00
b697fac4ba expression: vectorize hash calculation during probing (#12048) (#12669) 2019-11-05 21:42:34 +08:00
7bfa8967e1 executor: rename HashJoin.outer and inner to probe and build (#13045) 2019-10-31 11:43:36 +08:00
1f922559df executor: implement disk-based hash join (#12067) 2019-09-24 23:23:05 +08:00
d29751ca5d executor: vectorize hash calculation in hashJoin (#12048) (#12076) 2019-09-11 16:06:46 +08:00
d88cd749f5 executor, expression: 1. rename tryToMatch to tryToMatchOuters 2. tiny refine tryToMatchOuters (#12138) 2019-09-11 11:24:14 +08:00