From bc7780c83f9aebaa1c5439f71d74d2216bab0f2c Mon Sep 17 00:00:00 2001 From: englefly Date: Sun, 20 Oct 2024 20:49:15 +0800 Subject: [PATCH] nothing --- .../java/org/apache/doris/nereids/stats/StatsCalculator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/stats/StatsCalculator.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/stats/StatsCalculator.java index a7540622303bbe..cdb23fa4258634 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/stats/StatsCalculator.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/stats/StatsCalculator.java @@ -773,7 +773,8 @@ private Statistics computeCatalogRelation(CatalogRelation catalogRelation) { Optional optStats = cascadesContext.getStatementContext() .getStatistics(olap.getRelationId()); if (optStats.isPresent()) { - double actualRowCount = catalogRelation.getTable().getRowCountForNereids(); + double actualRowCount = catalogRelation + .getTable().getRowCountForNereids(); if (actualRowCount > optStats.get().getRowCount()) { return optStats.get(); }