You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2014/05/07 01:58:19 UTC
[jira] [Comment Edited] (HIVE-6204) The result of show grant / show
role should be tabular format
[ https://issues.apache.org/jira/browse/HIVE-6204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13991370#comment-13991370 ]
Thejas M Nair edited comment on HIVE-6204 at 5/6/14 11:58 PM:
--------------------------------------------------------------
bq. Why doesn't the table have column headings?
Table headings show up when you use beeline. In case of hive cli, you can do "set hive.cli.print.header=true;" to get headers.
was (Author: thejas):
bq. Why doesn't the table have column headings?
Table headings show up when you use beeling. In case of hive cli, you can do "set hive.cli.print.header=true;" to get headers.
> The result of show grant / show role should be tabular format
> -------------------------------------------------------------
>
> Key: HIVE-6204
> URL: https://issues.apache.org/jira/browse/HIVE-6204
> Project: Hive
> Issue Type: Improvement
> Components: Authorization
> Reporter: Navis
> Assignee: Navis
> Priority: Minor
> Fix For: 0.13.0
>
> Attachments: HIVE-6204.1.patch.txt, HIVE-6204.2.patch.txt, HIVE-6204.3.patch.txt
>
>
> {noformat}
> hive> show grant role role1 on all;
> OK
> database default
> table src
> principalName role1
> principalType ROLE
> privilege Create
> grantTime Wed Dec 18 14:17:56 KST 2013
> grantor navis
> database default
> table srcpart
> principalName role1
> principalType ROLE
> privilege Update
> grantTime Wed Dec 18 14:18:28 KST 2013
> grantor navis
> {noformat}
> This should be something like below, especially for JDBC clients.
> {noformat}
> hive> show grant role role1 on all;
> OK
> default src role1 ROLE Create false 1387343876000 navis
> default srcpart role1 ROLE Update false 1387343908000 navis
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)