We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bc143d commit f460f36Copy full SHA for f460f36
1 file changed
pkg/planner/core/exhaust_physical_plans.go
@@ -565,8 +565,10 @@ func hasPseudoStatsForIndexJoinPrune(p base.LogicalPlan) bool {
565
566
// shouldPruneIndexJoinByScanRatio decides whether to drop index-join candidates by
567
// comparing estimated scan rows:
568
-// index-join scans ~= buildRows + buildRows*probeRowsOne
569
-// hash-join scans ~= buildRows + innerFullScanRows
+//
+// index-join scans ~= buildRows + buildRows*probeRowsOne
570
+// hash-join scans ~= buildRows + innerFullScanRows
571
572
// We only apply this pruning when:
573
// 1) session threshold > 0,
574
// 2) build/probe stats are non-pseudo,
0 commit comments