nastra commented on code in PR #8648:
URL: https://github.com/apache/iceberg/pull/8648#discussion_r1342080060


##########
api/src/main/java/org/apache/iceberg/view/View.java:
##########
@@ -77,6 +77,15 @@ public interface View {
    */
   Map<String, String> properties();
 
+  /**
+   * Return the view's base location.
+   *
+   * @return this view's location
+   */
+  default String location() {
+    return null;

Review Comment:
   this is only having a default implementation so that we don't break the API. 
Instead of returning null here we could just throw an exception like we do in 
other default methods



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

Reply via email to