sdf-jkl commented on issue #18320:
URL: https://github.com/apache/datafusion/issues/18320#issuecomment-3497936241

   Hey @alamb, I don't think this can be implemented using 
`ScalarUDFImpl::simplify`, since this simplification is on the predicate 
expression side. The solution can be something like `unwrap_cast` for 
`date_part` within simplify expressions framework, like you mentioned in #18319.


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