pepijnve commented on PR #17813:
URL: https://github.com/apache/datafusion/pull/17813#issuecomment-3356588582

   I experimented a bit with the rewrite + const eval approach on the physical 
expression side of things. While attractive and simple to implement, the 
downside is that it's going to be very hard to ensure the logical and physical 
side agree. Logical needs to work without `ExecutionProps` so it has less 
information available to it compared to the `PhysicalExpr` tree. I don't see a 
way to resolve that. As a consequence I ended up with an limited ad hoc version 
of const evaluation on the logical side and would have to do the same for 
physical which isn't really ideal from a DRY perspective.


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