aokolnychyi commented on a change in pull request #2398:
URL: https://github.com/apache/iceberg/pull/2398#discussion_r605116102



##########
File path: api/src/main/java/org/apache/iceberg/Table.java
##########
@@ -102,6 +102,15 @@ default String name() {
    */
   String location();
 
+  /**
+   * Returns the location of the current metadata file.
+   *
+   * @return this table's metadata file location
+   */
+  default String metadataFileLocation() {
+    return null;

Review comment:
       I was thinking about this one too. Probably, an exception would be more 
descriptive? I am going to use it in the serializable table, where it will be 
optional. So null there is no problem but I am not sure about general cases.




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

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