ihuzenko commented on a change in pull request #1559: DRILL-540: Allow querying 
hive views in Drill
URL: https://github.com/apache/drill/pull/1559#discussion_r244163680
 
 

 ##########
 File path: 
contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveAuthorizationHelper.java
 ##########
 @@ -146,6 +147,12 @@ private void authorize(final HiveOperationType 
hiveOpType, final List<HivePrivil
     } catch (final HiveAccessControlException e) {
       throw e;
     } catch (final Exception e) {
+      if (toRead.size() == 1 && 
InfoSchemaConstants.IS_SCHEMA_NAME.equalsIgnoreCase(toRead.get(0).getObjectName()))
 {
 
 Review comment:
   removed, and created separate issue 
https://issues.apache.org/jira/browse/DRILL-6923

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

Reply via email to