You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2019/05/20 08:10:46 UTC

[GitHub] [drill] vvysotskyi opened a new pull request #1792: DRILL-7250: Query with CTE fails when its name matches to the table name without access

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:
users@infra.apache.org


With regards,
Apache Git Services