Good catch, Brett.  Can we have confirmation from an expert?

Also, is object_type optional?

It isn't clear to me why priv_level isn't called object_name.

-- Lefty

On Thu, Oct 9, 2014 at 8:23 AM, Brett Randall <javabr...@gmail.com> wrote:

> Hi,
>
> On
> https://cwiki.apache.org/confluence/display/Hive/Hive+Default+Authorization+-+Legacy+Mode#HiveDefaultAuthorization-LegacyMode-Grant/RevokePrivileges
> , GRANT shows as:
>
> GRANT
>     priv_type [(column_list)]
>       [, priv_type [(column_list)]] ...
>     [ON object_type]
>     TO principal_specification [, principal_specification] ...
>     [WITH GRANT OPTION]
>
> Should that not be [ON object_type priv_level], same as REVOKE, where:
>
> object_type:
>     TABLE
>   | DATABASE
>
> priv_level:
>     db_name
>   | tbl_name
>
> Thanks
> Brett
>

Reply via email to