James-Jeyun-Kim commented on pull request #2046:
URL: https://github.com/apache/calcite/pull/2046#issuecomment-650405565


   I deleted the overridden function "resolve" in WithScope.java because that 
was adding the view from the WITH clause into the scope of the main statement. 
This made the query pass by validation when the view was accessed from the main 
statement later without the necessary SELECT FROM [view].


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to