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


##########
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/functions/inference/OperatorBindingCallContext.java:
##########
@@ -85,7 +107,7 @@ public boolean isArgumentLiteral(int pos) {
 
     @Override
     public boolean isArgumentNull(int pos) {
-        return binding.isOperandNull(pos, false);
+        return binding.isOperandNull(pos, false) || isDefault(pos);

Review Comment:
   Yes, default values will be passed as null into UDFs.



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