sdf-jkl commented on PR #18789:
URL: https://github.com/apache/datafusion/pull/18789#issuecomment-3543995383

   @alamb This works as is right now, but I like the idea of adding a new 
method `ScalarUDFImpl::simplify_predicate()`. We then can move this code in the 
`DatePartFunc` implementation of `ScalarUDFImpl` and creating a simplification 
rule for scalar functions.
   
   The rule will check if there is a scalar function is present in the 
predicate expression and match the `ScalarUDFImpl::simplify_predicate()` to it.


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