diff --git a/sql/catalyst/src/main/java/org/apache/spark/sql/connector/read/SupportsReportStatistics.java b/sql/catalyst/src/main/java/org/apache/spark/sql/connector/read/SupportsReportStatistics.java index b839fd5a4a726..1e0c9ca7c7e4b 100644 --- a/sql/catalyst/src/main/java/org/apache/spark/sql/connector/read/SupportsReportStatistics.java +++ b/sql/catalyst/src/main/java/org/apache/spark/sql/connector/read/SupportsReportStatistics.java @@ -23,9 +23,9 @@ * A mix in interface for {@link Scan}. Data sources can implement this interface to * report statistics to Spark. * - * As of Spark 2.4, statistics are reported to the optimizer before any operator is pushed to the - * data source. Implementations that return more accurate statistics based on pushed operators will - * not improve query performance until the planner can push operators before getting stats. + * As of Spark 3.0, statistics are reported to the optimizer after operators are pushed to the + * data source. Implementations may return more accurate statistics based on pushed operators + * which may improve query performance by providing better information to the optimizer. * * @since 3.0.0 */