hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chao Sun (JIRA)" <>
Subject [jira] [Created] (HIVE-15252) doesn't work for 'reload function'
Date Mon, 21 Nov 2016 22:45:58 GMT
Chao Sun created HIVE-15252:

             Summary: doesn't work for 'reload function'
                 Key: HIVE-15252
             Project: Hive
          Issue Type: Bug
          Components: Authorization
            Reporter: Chao Sun
            Assignee: Chao Sun
            Priority: Minor

Right now the 'reload function' is handled specially in {{HiveCommand#find}}:
        return null;
      } else if(command.length > 1 && "reload".equalsIgnoreCase(command[0])
          && "function".equalsIgnoreCase(command[1])) {
        //special handling for SQL "reload function"
        return null;

However, this means the {{}} doesn't work for the command.
It's better to first do the privilege check and then the rest.

This message was sent by Atlassian JIRA

View raw message