findepi commented on PR #13651:
URL: https://github.com/apache/datafusion/pull/13651#issuecomment-2520336059

   I like the verification. The only concern is the overhead of doing it, 
especially for large plans. Every optimizer pass gets a new verification of all 
plan nodes. i hope one day we go towards more iterative optimization and then 
we should be able to verify plan invariants locally. Which would guarantee that 
the verification overhead is linearly proportional to number of modifications 
applied to the plan. This would require eg that get_type is a constant 
operation (https://github.com/apache/datafusion/issues/12604), since plan 
verification should also include that the types do match.
   


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