From c8f26024d4fb6ba83b73437d0ca699d4b1d9bfc0 Mon Sep 17 00:00:00 2001 From: qw4990 Date: Wed, 31 Jul 2024 14:39:59 +0800 Subject: [PATCH] fixup --- pkg/planner/core/exhaust_physical_plans_test.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkg/planner/core/exhaust_physical_plans_test.go b/pkg/planner/core/exhaust_physical_plans_test.go index a0a4e2d279bc8c..1b952223587f9a 100644 --- a/pkg/planner/core/exhaust_physical_plans_test.go +++ b/pkg/planner/core/exhaust_physical_plans_test.go @@ -203,8 +203,11 @@ func testAnalyzeLookUpFilters(t *testing.T, testCtx *indexJoinContext, testCase innerJoinKeys: testCase.innerKeys, innerStats: dataSourceNode.StatsInfo(), innerSchema: dataSourceNode.Schema(), - innerPushedConditions: dataSourceNode.PushedDownConds} - _, err = helper.analyzeLookUpFilters(testCtx.path, testCase.rebuildMode) + innerPushedConditions: dataSourceNode.PushedDownConds, + innerIndexCols: testCtx.path.IdxCols, + innerIndexColLens: testCtx.path.IdxColLens, + } + _, err = helper.analyzeLookUpFilters(testCase.rebuildMode) if helper.chosenRanges == nil { helper.chosenRanges = ranger.Ranges{} }