cloud-fan commented on code in PR #38904:
URL: https://github.com/apache/spark/pull/38904#discussion_r1044214341
##########
sql/catalyst/src/main/java/org/apache/spark/sql/connector/read/Statistics.java:
##########
@@ -31,4 +35,7 @@
public interface Statistics {
OptionalLong sizeInBytes();
OptionalLong numRows();
+ default Optional<Map<NamedReference, ColumnStatistics>> columnStats() {
Review Comment:
shall we use empty map to indicate no column stats? Catalyst column stats
also use map directly.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]