JiajunBernoulli opened a new pull request #2679:
URL: https://github.com/apache/calcite/pull/2679


   I think in the **expandView** method, the view should be considered as the 
top node. 
   Here are some reasons:
   1. **convertQuery** is for SqlNode, the SqlNode of view is an independent 
new SqlNode.
   2. The SqlNode of **expandView** is not directly in the subquery.
   3. When creating a view, the same query will also be used as the top node.


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