rdblue commented on code in PR #15561:
URL: https://github.com/apache/iceberg/pull/15561#discussion_r2913496523


##########
api/src/main/java/org/apache/iceberg/Scan.java:
##########
@@ -208,4 +209,13 @@ default ThisT minRowsRequested(long numRows) {
     throw new UnsupportedOperationException(
         this.getClass().getName() + " doesn't implement minRowsRequested");
   }
+
+  /**
+   * The {@link FileIO} instance to use when reading data files for this scan.
+   *
+   * @return the {@link FileIO} instance to use when reading data files for 
this scan
+   */
+  default FileIO io() {
+    throw new UnsupportedOperationException("io() is not implemented: added in 
1.11.0");

Review Comment:
   This is mostly for unexpected implementations, so I was thinking that a 
version number would be helpful like a deprecation message that has one. I'm 
fine removing it, though.



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