sadboy commented on issue #4628:
URL: 
https://github.com/apache/arrow-datafusion/issues/4628#issuecomment-1864881743

   To add a counter point to this change -- without sub-tree sharing, and in 
the presence of CTEs, LogicalPlan trees would be exponential in the size of the 
SQL query:
   ```
   WITH
      A as (select 1 x),
      B as (select * from A, A)
      C as (select * from B, B)
      D as (select * from C, C)
   select * from D;
   ```
   
     


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