alamb commented on issue #340:
URL: 
https://github.com/apache/arrow-datafusion/issues/340#issuecomment-841408125


   My personal take is that adding some way to mark a `ScalarFunction` as being 
`immutable`, `stable` or `volatile` would be valuable for query optimization 
(e.g. we could inline/fold `immutable` functions in logical plans, inline/fold 
`stable` functions in physical plans, and never inline `volatile` functions)
   
   


-- 
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:
us...@infra.apache.org


Reply via email to