Commit Graph

210 Commits

Author SHA1 Message Date
4476173923 planner: update cost model2 (#39438)
ref pingcap/tidb#35240
2022-11-30 00:29:59 +08:00
15b523cb07 *: add a memdb memory tracker (#39372)
ref pingcap/tidb#35203
2022-11-25 19:03:59 +08:00
678aa56ece planner: update some UTs from cost model1 to model2 (#39124)
ref pingcap/tidb#35240
2022-11-14 14:31:54 +08:00
3bbffdf7ac planner: update some UTs from cost model1 to model2 (#39065)
ref pingcap/tidb#35240
2022-11-11 13:51:53 +08:00
570f9a192c test: remove useless fixme in join test (#38864)
close pingcap/tidb#38577
2022-11-04 18:58:01 +08:00
fb8979697e planner: update some UTs to use cost model2 (#38875)
ref pingcap/tidb#35240
2022-11-04 11:58:00 +08:00
e843278589 executor: fix HashJoinExec panic of closed channel (#38576)
close pingcap/tidb#37932
2022-10-26 20:17:56 +08:00
5fa9da1bf7 planner: make the meaning of displayed estimated row count consistent with actual row count (#38188)
close pingcap/tidb#38187
2022-10-17 18:45:53 +08:00
70684d39de *: enable mock session manager and schemaLease for all unit tests (#37623) 2022-09-06 14:04:55 +08:00
2858bc1571 *: refine mock session manager (#37400) 2022-08-26 15:06:21 +08:00
4fd3d0b66d planner: fix data race in the TestInlineProjection4HashJoinIssue15316 (#37014)
close pingcap/tidb#37009
2022-08-11 12:24:48 +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
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
a9614850f9 *: move config file option oom-action to sysvar (#34644)
ref pingcap/tidb#33769
2022-05-19 05:16:38 +08:00
b8ea8b6e29 planner: strengthen the cases the join reorder can apply (#34603)
close pingcap/tidb#34590, close pingcap/tidb#34591
2022-05-13 16:40:36 +08:00
02de667042 testkit: add MockSessionManager (#34124)
ref pingcap/tidb#31716
2022-04-21 12:14:04 +08:00
4ff3ec260c *: improve test for import concurrency ddl in the future (#33496)
close pingcap/tidb#33495
2022-03-28 17:30:28 +08:00
2f0c23da24 executor: migrate test-infra to testify for stale_txn_test (#32285)
close pingcap/tidb#28618
2022-02-14 16:49:38 +08:00
b5245b5092 executor: migrate test-infra to testify for join_test.go (#32120)
close pingcap/tidb#28593
2022-02-07 18:43:35 +08:00
c27f8f697f executor: return error as expected when indexHashJoin occur error or panic in handleTask (#31323)
close pingcap/tidb#31129
2022-01-07 15:14:37 +08:00
443f15ed4e executor: send a task with error to the resultCh when panic happen (#30214) 2021-11-29 20:15:52 +08:00
4d16aabf90 planner: change redundantSchema to fullSchema to correctly handle natural and "using" joins (#29599) 2021-11-22 14:53:49 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +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
dc53b520bf executor: fix hash join between datetime and timestamp (#25915) 2021-07-06 11:21:28 +08:00
79db8cb3a3 executor: make analyze test be stable (#25547) 2021-06-18 16:02:38 +08:00
eb91585d6d executor: temporarily skip some unstable test cases. (#25224)
- testResourceTagSuite.TestResourceGroupTag (#25189)
- testSuiteJoin1.TestIndexLookupJoin (#25191)
- testSuite1.TestAnalyzeIndex (#25188)
- testSuite1.TestAnalyzeIncremental (#25187)
- testVectorizeSuite2.TestVectorizedBuiltinTimeEvalOneVec (#25169)
2021-06-08 15:35:54 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
c382b9b01e executor: hash join out of index panic when enum column value is zero (#23162) 2021-03-10 12:18:54 +08:00
3750320899 executor: add close recordSet in executor (#22714) 2021-03-07 17:54:55 +08:00
b81e547e66 executor: fix err check (#22991) 2021-03-03 19:26:56 +08:00
2d48f9573c planner: decorrelate LogicalApply with inner join as the inner child (#22649) 2021-02-24 15:42:03 +08:00
04e5137f48 *: use explain format = 'brief' for tests (#22677) 2021-02-22 17:50:06 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
c3576fa0f0 planner: fix unknown columns in join using below agg (#21922)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-23 11:26:06 +08:00
d44e123395 planner: prevent agg push down if it is in the outer child of apply (#21902) 2020-12-22 16:43:26 +08:00
65a3a7d9a4 planner: fix join with using clause didn't check ambiguous columns (#21411) 2020-12-03 18:05:48 +08:00
550c2c0c10 planner: natural join not consider rowid and null eq not propagate (#21328)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-02 12:18:48 +08:00
2e918a2e8f executor: specially handle empty input for apply's outer child aggregate (#20544) 2020-11-19 13:54:23 +08:00
f1a0a28af4 executor, planner: do not coalesce column for update/delete natural_using_join (#21085) 2020-11-17 15:36:57 +08:00
41786cb976 *: seperate hash keys from join keys in IndexJoin (#20761) 2020-11-16 16:24:51 +08:00
dfc3bbdee6 util, executor: parse set value correctly in HashChunkRow (#21048) 2020-11-16 14:51:26 +08:00
c8545947a1 executor, planner: fix some cases for natural_using_join (#20977) 2020-11-12 18:03:58 +08:00
3ef3e54b5e planner: don't push down null sensitive join conditions (#19620) 2020-11-12 17:16:31 +08:00
f140db6fce executor: fix issue of runtime stats of index merge join is wrong (#20892)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-11-09 23:27:54 +08:00
e9941af783 executor: fix IndexHashJoin hang in finishJoinWorkers (#20780) 2020-11-03 13:59:20 +08:00
2e4390b9c5 executor: Check if the query is killed when joining rows in HashJoin (#20270) 2020-10-28 20:16:02 +08:00
650515a420 executor: fix data race in test (#20142) 2020-09-22 14:58:38 +08:00