nastra commented on code in PR #11532: URL: https://github.com/apache/iceberg/pull/11532#discussion_r1839975364
########## spark/v3.4/spark/src/test/java/org/apache/iceberg/spark/source/TestSparkScan.java: ########## @@ -716,6 +879,26 @@ private Expression[] expressions(Expression... expressions) { return expressions; } + private void checkColStatisticsNotReported(SparkScan scan, long expectedRowCount) { + Statistics stats = scan.estimateStatistics(); + assertThat(stats.numRows().getAsLong()).isEqualTo(expectedRowCount); + + Map<NamedReference, ColumnStatistics> columnStats = stats.columnStats(); + assertThat(columnStats.isEmpty()); Review Comment: @saitharun15 can you please also fix this in Spark 3.5 as part of this PR? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org