dylanhz commented on PR #26767:
URL: https://github.com/apache/flink/pull/26767#issuecomment-3048962901

   > >Should we remove nullableIfArgs in BuiltInFunctionDefinitions#ENCODE? 
Same for DECODE.
   > 
   > why ?
   > ```sql
   > SELECT encode(cast(null as string), 'utf-8'), encode(cast(null as string), 
cast(null as string)), encode('asd', cast(null as string));
   > ```
   > returns
   > ```
   > null, null, null
   > ```
   > or did I miss anything?
   
   I mean the nullability of return types are different in  
`BuiltInFunctionDefinitions` and `FlinkSqlOperatorTable` ?


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