[ https://issues.apache.org/jira/browse/HIVE-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dapeng Sun updated HIVE-9064: ----------------------------- Description: Currently the data type of "grant_time" is defined as "bigint", if writing "{{String}}" to the field in output, it will case to {{bigint}} by force, the output will print a "null" at the grantTime field, This blocks a conponment like SENTRY, who want to custom the output of {{show grant}}, a simple patch to fix it. About the default format of grant_time's output in HIVE will discuss in HIVE-9018 (was: Currently the data type of {{grant_time}} is defined as {{bigint}}, it will block a conponment like SENTRY, who want to custom the output of {{show grant}}, a simple patch to fix it. About the default format of grant_time's output in HIVE will discuss in HIVE-9018) > the data type of grant_time in "ShowGrantDesc" and "RoleDDLDesc" should be > "string" > ----------------------------------------------------------------------------------- > > Key: HIVE-9064 > URL: https://issues.apache.org/jira/browse/HIVE-9064 > Project: Hive > Issue Type: Bug > Reporter: Dapeng Sun > Attachments: HIVE-9064.patch > > > Currently the data type of "grant_time" is defined as "bigint", if writing > "{{String}}" to the field in output, it will case to {{bigint}} by force, the > output will print a "null" at the grantTime field, This blocks a conponment > like SENTRY, who want to custom the output of {{show grant}}, a simple patch > to fix it. About the default format of grant_time's output in HIVE will > discuss in HIVE-9018 -- This message was sent by Atlassian JIRA (v6.3.4#6332)