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
397e31a673
planner: fix incorrect result for != all (subq) ( #19576 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-09-07 14:07:21 +08:00
438945d294
*: enable clustered index by default ( #19582 )
2020-08-31 16:54:51 +08:00
1e9b519ff7
executor: clean outerMatchedStatus when HashJoin.Close is called ( #19510 )
2020-08-31 14:45:04 +08:00
1417991cef
executor: reset INLJ.task when Close ( #19513 )
2020-08-27 14:05:36 +08:00
cc661e0c2f
planner: make a copy of column before modifying its InOperand ( #19472 )
2020-08-26 16:43:35 +08:00
9e6688c1bb
executor: uncomment the join test for issue #11896 ( #19446 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 08:51:22 +08:00
30456dfaa5
executor: Uncomment join test ( #18697 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-25 17:48:52 +08:00
5184a0d706
executor: fix the bug: can not join if join keys are type bigint and type bit ( #19032 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-14 19:44:48 +08:00
0448a54875
types: fix wrong hash key for decimal ( #19131 )
...
* types: fix wrong hash key for decimal
* fix bug
* fix & add test
* address comments and add test
* add test
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-13 19:29:17 +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
8976ffef9c
store: add lock for runtime stats to fix panic caused by concurrent execution ( #18983 )
2020-08-05 13:53:44 +08:00
847a3b73dc
planner: don't put the handle column twice into the index column ( #18565 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-07-21 15:38:50 +08:00
c2b56e96c8
executor: return error from indexHashJoin worker to main thread ( #18573 )
2020-07-15 16:41:24 +08:00
30858ec8ea
executor: return error when recover indexHash/MergeJoin worker ( #18509 )
2020-07-14 10:44:27 +08:00
daad2699dd
*: support clustered index for index join ( #18204 )
2020-07-01 16:15:51 +08:00
c98514e751
executor: unify executor concurrency ( #16999 )
2020-06-22 17:39:32 +08:00
a8da23c254
test: fix data race caused by update global config ( #17964 )
...
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com >
2020-06-12 13:05:27 +08:00
e8779717d9
planner, expression: Remove the default asc order in explain result ( #17074 )
2020-05-14 17:38:19 +08:00
e607157efe
util, executor: deep clone shallowRow in baseJoiner.Clone ( #16644 )
2020-04-24 15:10:06 +08:00
dec9371d8a
executor: fix building hash table with TypeNull when join ( #15913 )
2020-04-01 21:18:58 +08:00
07194a0e98
planner, executor: fix wrong result of semijoin for INLHashJoin ( #15952 )
2020-04-01 18:42:40 +08:00
15c3b74ca9
util, executor: use UnionRanges build index kv range for INLJ ( #15727 )
2020-03-27 10:21:19 +08:00
6dd8377a3c
executor: check unequal handles when buildTableReader4INLJoin ( #15675 )
2020-03-26 18:28:09 +08:00
21ee980e11
*: Refine Explain's format. ( #15507 )
2020-03-23 17:57:49 +08:00
b0ea766a49
executor: solve bug of copy joined tuples after inline projection ( #15411 )
2020-03-20 18:03:29 +08:00
544e45eb54
planner, executor: fix rename sm_join to merge_join ( #15394 )
2020-03-17 18:32:13 +08:00
183a9d585a
*: update explain info of outer hash joins ( #15247 )
2020-03-10 20:38:02 +08:00
77dcdc546d
*: Clear the name of some field in explain result. ( #14958 )
2020-03-02 17:43:22 +08:00
6d00e2169b
planner: enable inline projection for hash join ( #14783 )
2020-02-28 16:28:10 +08:00
236352e98f
*: show build and probe side for join and index lookup related operators in explain result ( #14838 )
2020-02-26 17:12:09 +08:00
51a1323869
expression/types: check when insert binary literal ( #9829 )
2020-02-25 14:55:06 +08:00
3399f4be31
planner: distinguish FullScan and the RangeScan in explain/desc info ( #14696 )
2020-02-24 15:23:06 +08:00
a4e8341add
executor: fix offset of outerMatchStatus for outer hash join ( #14773 )
2020-02-13 18:57:04 +08:00
128ec02a9f
test: fix a bug for leak check ( #14592 )
2020-02-05 14:15:23 +08:00
00ef8b6b92
expression, executor: correct the funcName for wrapWithIsTrue ( #14515 )
2020-01-17 17:12:50 +08:00
85afb8227e
util: remove the optimization in CopySelectedJoinRows() to fix a bug in OuterHashJoin ( #14010 )
2019-12-24 16:58:39 +08:00
e979cff6bb
planner: add column mapping in explain result ( #13640 )
2019-11-27 16:39:19 +08:00
8ed87c181e
executor, test: copy the index join tests for index hash join and index merge join ( #13618 )
2019-11-25 21:27:30 +08:00
189d89e00a
planner, executor: build ColWithCmpFuncManager.TmpConstant for indexHashJoin.innerWorker individually ( #13714 )
2019-11-25 14:36:17 +08:00
17fda43487
planner, executor: build ColWithCmpFuncManager.TmpConstant for indexMergeJoin.innerWorker individually ( #13713 )
2019-11-25 13:57:16 +08:00
de6277fe2d
planner, executor: build ColWithCmpFuncManager.TmpConstant for indexJoin.innerWorker individually ( #13669 )
2019-11-21 21:31:08 +08:00
1d4ac098db
executor: getNewJoinResult after handling a task for orderd IndexHashJoin ( #13451 )
2019-11-19 14:59:53 +08:00
ee1ac01282
planner, executor: fix wrong result in index merge join. ( #13192 )
2019-11-18 13:34:24 +08:00
2baaf1f048
planner: support hint for IndexHashJoin and IndexMergeJoin ( #13238 )
2019-11-13 21:21:04 +08:00
342e8ed96c
executor: change outer result to list in index merge join ( #12727 )
2019-10-25 16:15:21 +08:00
9b0334601a
executor: speed up test ( #12896 )
2019-10-23 21:11:21 +08:00
bc997d7035
executor: split test for speed up ( #12881 )
2019-10-23 12:58:29 +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