Sergio Peña created SENTRY-1986:
-----------------------------------

             Summary: Fix NPE on createGrantTask from 
SentryHiveAuthorizationTaskFactoryImpl.java
                 Key: SENTRY-1986
                 URL: https://issues.apache.org/jira/browse/SENTRY-1986
             Project: Sentry
          Issue Type: Bug
          Components: Sentry
    Affects Versions: 2.0.0
            Reporter: Sergio Peña


A NPE can happen on the following code from 
SentryHiveAuthorizationTaskFactoryImpl.java:

{noformat}
if (privilegeObj.getPartSpec() != null) {
      throw new 
SemanticException(SentryHiveConstants.PARTITION_PRIVS_NOT_SUPPORTED);
    }
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to