Skip to content

Commit f460f36

Browse files
committed
fmt
Signed-off-by: guo-shaoge <shaoge1994@163.com>
1 parent 5bc143d commit f460f36

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

pkg/planner/core/exhaust_physical_plans.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,8 +565,10 @@ func hasPseudoStatsForIndexJoinPrune(p base.LogicalPlan) bool {
565565

566566
// shouldPruneIndexJoinByScanRatio decides whether to drop index-join candidates by
567567
// comparing estimated scan rows:
568-
// index-join scans ~= buildRows + buildRows*probeRowsOne
569-
// hash-join scans ~= buildRows + innerFullScanRows
568+
//
569+
// index-join scans ~= buildRows + buildRows*probeRowsOne
570+
// hash-join scans ~= buildRows + innerFullScanRows
571+
//
570572
// We only apply this pruning when:
571573
// 1) session threshold > 0,
572574
// 2) build/probe stats are non-pseudo,

0 commit comments

Comments
 (0)