b4df7ca4dc
test: make all the tests run in serial ( #30692 )
2021-12-14 18:06:36 +08:00
7acb80f125
executor: migrate test-infra to testify for executor/index_lookup_join_test.go ( #30260 )
2021-12-02 11:27:53 +08:00
20b9a4d8ca
executor: index out of range for lookUpContents ( #27138 ) ( #29456 )
2021-11-17 16:41:46 +08:00
55a38a1c76
*: tiny clean up the RecordSet NewChunk() method ( #29232 )
2021-11-02 20:02:51 +08:00
c103310663
executor: fix wrong index hash join when hash col is enum ( #28032 )
2021-09-16 12:00: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
884a838b02
planner: fix the unstable test case TestListPartitionOrderLimit ( #26839 )
2021-08-03 15:43:06 +08:00
982dcece3b
executor: fix incorrect result of enum type merge join ( #24775 )
2021-06-03 17:24:26 +08:00
032d34c750
executor: fix index join panic on prefix index on some cases ( #24568 )
2021-05-21 16:06:21 +08:00
f1521632e2
executor: fix a concurrent-access problem caused by accessing a single parser object in session concurrently ( #24338 )
2021-04-29 18:11:57 +08:00
e5806410e7
executor: make IndexReaders in the inner side of IndexJoins support direct reading ( #24260 )
2021-04-27 16:03:56 +08:00
5dab3f95bf
executor: fix 'index out of range' issue in index lookup join ( #23755 )
2021-04-01 04:31:24 +08:00
135fad0714
executor: fix index join on prefix column index ( #23678 )
2021-03-30 18:31:24 +08:00
b81e547e66
executor: fix err check ( #22991 )
2021-03-03 19:26:56 +08:00
ce1ad327d7
executor: fix wrong results when index join on union scan partition table ( #19436 )
...
* executor: fix wrong results when index join on union scan new parition table
* move partitionTableReader inner buildUnionScanFromReader
* fix conflicts
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 15:51:22 +08:00
f5fa3e7aa7
executor: fix index join error when join key is ENUM or SET ( #19235 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-24 20:50:51 +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
c98514e751
executor: unify executor concurrency ( #16999 )
2020-06-22 17:39:32 +08:00
38298c2e3e
planner: fix wrong index merge join plan for join key is not the prefix of index ( #16894 )
2020-05-22 17:40:10 +08:00
b53d253802
executor: merge overlapped ranges when build key ranges for indexJoin ( #14596 )
2020-02-03 17:55:53 +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
2baaf1f048
planner: support hint for IndexHashJoin and IndexMergeJoin ( #13238 )
2019-11-13 21:21:04 +08:00
bc997d7035
executor: split test for speed up ( #12881 )
2019-10-23 12:58:29 +08:00
4a43daa882
planner: handle single partition in IndexJoin correctly ( #12581 )
2019-10-15 11:26:03 +08:00
4491bf854e
planner: rename optimizer hints ( #11673 )
2019-08-14 19:31:01 +08:00
fe038642e5
*: refactor cost model formulas and constants ( #10581 )
2019-08-07 17:44:09 +08:00
bdec3414e7
executor: fix the behavior when index join meet prefix index ( #11081 )
2019-07-12 17:48:35 +08:00
d244723a5e
executor: remove unused structure RecordBatch ( #10891 )
2019-06-26 15:26:16 +08:00
fbf58fc9b5
planner: fix wrong selectivity for inner selection in index join ( #10633 )
2019-06-12 12:50:14 +08:00
b05977d47e
executor: ignore overflow error when construct inner key ( #10244 )
2019-04-29 13:22:30 +08:00
9d74d6404f
planner, executor: index join enhancement ( #8471 )
2019-04-29 11:07:15 +08:00
7666f688b3
*: add stats version in slow_query and slow log. ( #10082 )
2019-04-15 18:04:48 +08:00
51cb84f202
planner: correct estimated row count for inner plan of index join ( #10015 )
2019-04-04 14:40:14 +08:00
0bec639074
planner: correct ExpectedCnt for children plans of join ( #9497 )
2019-03-11 15:08:02 +08:00
85c4553c4e
planner: chose outer table based on cost when both tables are specified in TIDB_INLJ ( #9579 )
2019-03-08 13:25:44 +08:00
09a5c8028e
plan: derive col is not null from col op col conditions ( #8603 )
...
Check whether the `op` condition is null rejected, if yes, derive
`col is not null` for both sides of inner join, and for inner side
of outer join.
Also, remove duplicate conditions before pushing them down. Check
if the condition is mutable before removing duplicates.
For AntiSemiJoin, AntiLeftOuterSemiJoin and LeftOuterSemiJoin, do
not generate new `is not null` conditions.
2019-01-30 10:53:46 +08:00
00c4ff4fa9
*: refactor Executor.Next() to receive RecordBatch ( #8994 )
2019-01-14 15:04:36 +08:00
084aa5a030
config: add initChunkSize config item, make chunk start with 32 ( #8480 )
2019-01-07 11:14:47 +08:00
98b96cc769
executor: speedup unit tests by spliting them into separate suites ( #8618 )
2018-12-24 21:37:12 +08:00
679d2e559c
planner/core: make TIDB_INLJ to specify the inner table ( #8243 )
2018-11-13 11:55:30 +08:00
d606b0d55f
executor: fix wrong result when index join on union scan. ( #8031 )
...
Do not modify Plan of dataReaderBuilder directly, because it would
impact next batch of outer rows, as well as other concurrent inner
workers. Instead, build a local child builder to store the child plan.
2018-10-25 11:38:35 +08:00
5efcacbff8
plan,executor: support IndexJoin over UnionScan ( #7877 )
2018-10-12 19:18:42 +08:00
d4d1851a39
executor: fix index lookup join hang ( #6267 )
2018-04-11 18:41:26 +08:00