dbtsai edited a comment on pull request #29567:
URL: https://github.com/apache/spark/pull/29567#issuecomment-683259420


   This will be a very useful optimization to turn `if causes` into expressions 
that can be pushdown. For `CaseWhen` if there is only one branch, we can 
convert it into `If`. A PR awhile ago 
https://github.com/apache/spark/pull/21850 implemented this optimization but 
didn't end up merging into master because at that time, `CaseWhen` and `If` 
have not much performance difference. Maybe we can revisit that again.


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