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

   >  I need to have a look at the code more, but I wonder whether it even has 
to be an optimization pass (e.g. inline view)? The current implementation of 
CTEs is also "just" using the definition as a subquery, I think the same could 
be done for the view definition.
   
   I agree the view expansion could be done in the SQL planner (maybe that is 
the best place 🤷  ).
   
   However, that would not apply to the `DataFrame` API


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