Commit Graph

140 Commits

Author SHA1 Message Date
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
7ffa4500e6 planner: support a hint to read from tiflash in planner (#12479) 2019-10-11 16:36:35 +08:00
1f922559df executor: implement disk-based hash join (#12067) 2019-09-24 23:23:05 +08:00
e2b1f7eff8 expression: change the String() method of expression.Column (#12089) 2019-09-16 14:30:22 +08:00
39e9c9fd7a *: add max/avg cop response time for TableReader, IndexReader and IndexLookupReader. (#12003) 2019-09-11 20:36:45 +08:00
d9e7bd315e executor: support index nested loop hash join (#8661) 2019-09-03 13:45:53 +08:00
bdbaeb419d executor: decrease the memory usage of hashTable in HashJoinExec (#11832) 2019-08-29 14:45:52 +08:00
79d43a56ed planner: fix uncorrect behavior of index join (#11724) 2019-08-16 15:04:46 +08:00
a530f87db7 planner: add aggregation hints TIDB_HASHAGG and TIDB_STREAMAGG (#11364) 2019-08-07 10:51:34 +08:00
f13f7bbdbd ranger: BuildColumnRange should merge ranges when column has prefix len (#11563) 2019-08-01 16:24:36 +08:00
d244723a5e executor: remove unused structure RecordBatch (#10891) 2019-06-26 15:26:16 +08:00
7f27f7daba planner, executor: set new child after injecting Project operator (#9684) 2019-03-13 14:19:32 +08:00
5a283a98dd plan/executor: make semi joins null and empty aware (#9051) 2019-02-25 15:42:38 +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
a9de2093e5 util/codec, types: add new method to get comparable hash key from MyDecimal (#8930) 2019-01-11 11:01:15 +08:00
084aa5a030 config: add initChunkSize config item, make chunk start with 32 (#8480) 2019-01-07 11:14:47 +08:00
93e91b6a37 executor/test: fix data race of executor unit tests (#8807) 2018-12-27 11:28:55 +08:00
98b96cc769 executor: speedup unit tests by spliting them into separate suites (#8618) 2018-12-24 21:37:12 +08:00
c137cada68 *: change golang.org/x/net/context to standard context (#8579) 2018-12-05 13:54:00 +08:00
4bcdb6d8ee executor: do not build range for NullOuterVal in IndexLookUpJoin (#8505) 2018-11-29 14:15:23 +08:00