shinzoxD commented on issue #11570:
URL: https://github.com/apache/datafusion/issues/11570#issuecomment-5304680748

   Opened a PR for this: https://github.com/apache/datafusion/pull/24402
   
   It specializes `CASE WHEN y {>, !=, <} 0 THEN x / y [ELSE NULL]` by keeping 
the original WHEN predicate (so `>` / `!=` / `<` stay correct) and nulling the 
divisor on excluded rows instead of dummy-dividing by 1.


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