[
https://issues.apache.org/jira/browse/SENTRY-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14199904#comment-14199904
]
Colin Ma commented on SENTRY-474:
---------------------------------
hi, [~lskuff], for this problem, there is a class in Hive
org.apache.hadoop.hive.ql.plan.ShowGrantDesc, and the "grant_time" is defined
as bigint. There is a solution to create new class like ShowGrantDesc in
sentry, but I think update this class in Hive side (bigint --> string) will be
more reasonable.
> SHOW GRANT ROLE in Hive should return "grant_time" in human readable format
> ---------------------------------------------------------------------------
>
> Key: SENTRY-474
> URL: https://issues.apache.org/jira/browse/SENTRY-474
> Project: Sentry
> Issue Type: Bug
> Affects Versions: 1.5.0
> Reporter: Lenni Kuff
> Priority: Minor
>
> Currently, "SHOW GRANT ROLE" will return the 'grant_time' in microseconds
> since epoch. It would be nice if this were in human readable format.
> Current output: 1411801585902000
> Desired output: Sat, Sep 27 2014 00:06:25.902
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)