findepi commented on code in PR #4741:
URL: https://github.com/apache/iceberg/pull/4741#discussion_r966770986


##########
api/src/main/java/org/apache/iceberg/Table.java:
##########
@@ -308,6 +308,13 @@ default UpdateStatistics updateStatistics() {
   /** Returns a {@link LocationProvider} to provide locations for new data 
files. */
   LocationProvider locationProvider();
 
+  /**
+   * Returns the current statistics files for the table
+   *
+   * @return the current statistics files for the table
+   */
+  List<StatisticsFile> statisticsFiles();

Review Comment:
   > Do we want to expose these directly? 
   
   Yes, these should be exposed, just like we expose other information about 
table (files, their min/maxes, etc.) _and_ we provide convenience functionality 
on top of them (like `planFiles`).
   
   > What about instead adding an API for finding statistics?
   
   Good idea. What would you like to see here?
   
   



-- 
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]

Reply via email to