vvysotskyi opened a new pull request #1792: DRILL-7250: Query with CTE fails 
when its name matches to the table name without access
URL: https://github.com/apache/drill/pull/1792
 
 
   - Removed `catalogReader.getTable(tempNode.names)` call since it does not 
resolve table names correctly using provided scope.
   - Reworked `catalogReader.isValidSchema()` method to follow logic on how 
Calcite determines whether the table is present: it uses schemas from 
`CatalogReader` and resolves specified schema among them.
   - Updated Calcite version to use the fix for `CALCITE-3061`.
   - Added unit test.
   
   For problem description please see 
[DRILL-7250](https://issues.apache.org/jira/browse/DRILL-7250).

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to