lvheyang commented on issue #723:
URL: 
https://github.com/apache/arrow-datafusion/issues/723#issuecomment-880059465


   @alamb I think the root problem is some of the scalar functions ( such as 
abs/ sin/ cos/ pow ) are not monotonous. We cannot prune all the rows when 
`fun(min) < Value` or `fun(max) > Value` is false. Do you have any idea how 
should we deal with such a situation?
   
   A possible way is to maintain a map, to mark the scalar functions' 
monotonicity. If the function is not monotonous, we would stop building the 
pruning predicate. Do you think if it is acceptable? 


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