trueleo commented on PR #8400:
URL: 
https://github.com/apache/arrow-datafusion/pull/8400#issuecomment-1837918437

   > I think this comment is from a very long time ago when the optimizers were 
structured quite differently than they are today.
   > 
   > The change in this PR I think is correct and make sense to me
   
   I think i get the issue now. When running optimizer code there is matching 
on Explain so that the child plan of explain is optimized and output of an 
optimization is then added to Explain's `stringified_plans`.
   
   Thus transforming explain on it's own cannot make any changes to 
stringified_plans. It is left upto the caller to make the right decision.   
   
   


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

Reply via email to