findepi commented on issue #12819:
URL: https://github.com/apache/datafusion/issues/12819#issuecomment-2401937768

   You may want to implement `ScalarUDFImpl::simplify` which is given 
nullability info.
   From there you'd return a  new  `ScalarUDFImpl` instance with the 
nullability information stored on a field. 
   When the information is already stored, subsequent `simplify` call (if any), 
should return original expression.
   Let me know if it works for your case.
   
   At some point we could probably rename `simplify` to `specialize` cc @alamb 
   
   


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

Reply via email to