twalthr commented on code in PR #25805:
URL: https://github.com/apache/flink/pull/25805#discussion_r1890210614


##########
flink-table/flink-table-common/src/main/java/org/apache/flink/table/functions/UserDefinedFunctionHelper.java:
##########
@@ -320,9 +322,12 @@ public static void validateClassForRuntime(
                 methods.stream()
                         .anyMatch(
                                 method ->
-                                        ExtractionUtils.isInvokable(method, 
argumentClasses)
+                                        ExtractionUtils.isInvokable(false, 
method, argumentClasses)
                                                 && 
ExtractionUtils.isAssignable(
-                                                        outputClass, 
method.getReturnType(), true));
+                                                        outputClass,
+                                                        method.getReturnType(),
+                                                        true,
+                                                        false));

Review Comment:
   ```
   // Strict autoboxing is disabled for backwards compatibility
   // e.g. a compiled plan with a method f(int i) that declared
   // INT NULL but never gets a NULL passed into the primitive
   // parameter
   ```



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

Reply via email to