Skip to content

Commit d64104a

Browse files
committed
fix wrong cost
Signed-off-by: Weizhen Wang <[email protected]>
1 parent a64b07d commit d64104a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/planner/core/tiflash_selection_late_materialization.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,4 @@ func PushedDown(sel *PhysicalSelection, ts *PhysicalTableScan, selectedConds []e
283283
removeSpecificExprsFromSelection(sel, selectedConds)
284284
// add the pushed down conditions to table scan
285285
ts.LateMaterializationFilterCondition = selectedConds
286-
// Update the row count of table scan after pushing down the conditions.
287-
ts.StatsInfo().RowCount *= selectedSelectivity
288286
}

0 commit comments

Comments
 (0)