James-Jeyun-Kim edited a comment on pull request #2046:
URL: https://github.com/apache/calcite/pull/2046#issuecomment-650403210


   This PR catches an invalid WITH clause during the query validation step so 
that it doesn't lead to a NPE later on in the sqlToRelConverter stage. An 
invalid WITH clause query in question here is when a query defines a view using 
WITH but later the view is not SELECT FROM'd and referenced in the main query. 
In such cases, it should give a table not found error.


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