nastra commented on code in PR #7370:
URL: https://github.com/apache/iceberg/pull/7370#discussion_r1198705535
##########
.palantir/revapi.yml:
##########
@@ -456,6 +456,28 @@ acceptedBreaks:
new: "parameter void
org.apache.iceberg.actions.BaseCommitService<T>::offer(===T===)\
\ @
org.apache.iceberg.actions.RewriteDataFilesCommitManager.CommitService"
justification: "Backwards compatible parameterization of argument"
+ - code: "java.method.parameterTypeChanged"
+ old: "parameter void
org.apache.iceberg.rest.RESTCatalog::<init>(===java.util.function.Function<java.util.Map<java.lang.String,\
+ \ java.lang.String>, org.apache.iceberg.rest.RESTClient>===)"
+ new: "parameter void
org.apache.iceberg.rest.RESTCatalog::<init>(===org.apache.iceberg.util.SerializableFunction<java.util.Map<java.lang.String,\
+ \ java.lang.String>, org.apache.iceberg.rest.RESTClient>===)"
+ justification: "Switching to SerializableFunction"
Review Comment:
I don't think we can support both because there's no place where we could
just cast from `Function` to `SerializableFunction`
--
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]