hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Suresh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-7309) Add query string to the HiveDriverFilterHookContext constructor
Date Fri, 27 Jun 2014 21:12:24 GMT
Arun Suresh created HIVE-7309:
---------------------------------

             Summary: Add query string to the HiveDriverFilterHookContext constructor
                 Key: HIVE-7309
                 URL: https://issues.apache.org/jira/browse/HIVE-7309
             Project: Hive
          Issue Type: Bug
          Components: Authorization
            Reporter: Arun Suresh


There are cases where more context is required by the {{HiveDriverFilterHook}} to make an
authorization decision.

For eg. :
In the case of the "SHOW TABLES in some_db" command, currently only the current DB (the landing
db when a user logs in .. or DB to which the user has switched to) is available in the {{HiveDriverFilterHookContext}}.
The target table, "some_db", in this example is also required.

One suggestion is to pass the complete query string in the hook context. since at that point,
there are no query inputs available.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message