andygrove commented on issue #11490:
URL: https://github.com/apache/datafusion/issues/11490#issuecomment-2248377717

   Also in `ScalarUDFImpl` trait:
   
   ```rust
       /// Returns true if some of this `exprs` subexpressions may not be 
evaluated
       /// and thus any side effects (like divide by zero) may not be 
encountered
       /// Setting this to true prevents certain optimizations such as common 
subexpression elimination
       fn short_circuits(&self) -> bool {
           false
       }
   ```    


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to