bart-samwel commented on pull request #30565:
URL: https://github.com/apache/spark/pull/30565#issuecomment-737800995


   > @bart-samwel Thanks for the comment.
   > 
   > Yeah, I have also notified this point after creating the PR. It would be 
ideal if we can pull up subexpr in front of the conjunct that uses it. An 
easier but sub-optimal approach is to only pull up subexpr that are shared 
between all predicates in the Filter.
   
   That's also unstable from a user's perspective because it could break by 
non-local changes, e.g. filters that get pushed down. It's not a great user 
experience if adding a small predicate causes a large performance cliff. 


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

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