rubenada commented on code in PR #5326:
URL: https://github.com/apache/calcite/pull/5326#discussion_r4269210035
##########
linq4j/src/main/java/org/apache/calcite/linq4j/tree/FunctionExpression.java:
##########
@@ -104,7 +104,8 @@ public F getFunction() {
dynamicFunction =
(F) Proxy.newProxyInstance(classLoader,
new Class[]{Types.toClass(type)},
- (proxy, method, args) -> x.dynamicInvoke(args));
+ (proxy, method, args) ->
Review Comment:
Should we consider removing the `@Nullable` from the `@Nullable Object...
args` in the interface declaration at the end of this file?
```
public interface Invokable {
@Nullable Object dynamicInvoke(@Nullable Object... args);
}
```
--
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]