[ 
https://issues.apache.org/jira/browse/HIVE-9350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16227329#comment-16227329
 ] 

Thejas M Nair commented on HIVE-9350:
-------------------------------------

[~akolb] Please see my first comment in the jira.
bq. [~prasadm] FYI, this patch introduces a small change to metastore 
filterhook api. The signature of the apis allows for MetaException to be 
thrown, this helps in propagating error messages properly. 

Without that, it would need to throw unchecked exceptions. Having a clear 
exception in the signature informs users of the api about what to expect/handle.
Since this API is not widely used by end users, and only by advanced users like 
Sentry, I notified the original author of it. It should be easy to make a 
change in Sentry when it adds support for this new version of hive (1.2.0).


> Add ability for HiveAuthorizer implementations to filter out results of 'show 
> tables', 'show databases'
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-9350
>                 URL: https://issues.apache.org/jira/browse/HIVE-9350
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>              Labels: TODOC1.2
>             Fix For: 1.2.0
>
>         Attachments: HIVE-9350.1.patch, HIVE-9350.2.patch, HIVE-9350.3.patch, 
> HIVE-9350.4.patch, HIVE-9350.5.patch
>
>
> It should be possible for HiveAuthorizer implementations to control if a user 
> is able to see a table or database in results of 'show tables' and 'show 
> databases' respectively.



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

Reply via email to