nastra commented on code in PR #13804:
URL: https://github.com/apache/iceberg/pull/13804#discussion_r2292646875
##########
api/src/main/java/org/apache/iceberg/Accessor.java:
##########
@@ -25,4 +25,7 @@ public interface Accessor<T> extends Serializable {
Object get(T container);
Type type();
+
+ /** Returns true if the current field or any ancestor in the access path is
optional. */
+ boolean hasOptionalFieldInPath();
Review Comment:
```suggestion
default boolean hasOptionalFieldInPath() { return false; }
```
this will avoid breaking the API and you'll be able to revert the revapi
changes
--
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]