Skip to content

Commit

Permalink
deltaRow+analyzeRow
Browse files Browse the repository at this point in the history
  • Loading branch information
englefly committed Oct 22, 2024
1 parent b7d0a5f commit bd19e79
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ private Statistics computeOlapScan(OlapScan olapScan) {
builder.putColumnStatistics(slot, colStatsBuilder.build());
}
checkIfUnknownStatsUsedAsKey(builder);
builder.setRowCount(tableRowCount + deltaRowCount);
builder.setRowCount(tableRowCount);
}
} else {
// get table level stats
Expand All @@ -509,7 +509,7 @@ private Statistics computeOlapScan(OlapScan olapScan) {
builder.putColumnStatistics(slot, colStatsBuilder.build());
}
checkIfUnknownStatsUsedAsKey(builder);
builder.setRowCount(tableRowCount + deltaRowCount);
builder.setRowCount(tableRowCount);
}
return builder.build();
}
Expand Down

0 comments on commit bd19e79

Please sign in to comment.