[ https://issues.apache.org/jira/browse/HBASE-26121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17387783#comment-17387783 ]
Michael Stack commented on HBASE-26121: --------------------------------------- Sounds good. Check out HBASE-6592 ? > Formatter to convert from epoch time to human readable date format. > ------------------------------------------------------------------- > > Key: HBASE-26121 > URL: https://issues.apache.org/jira/browse/HBASE-26121 > Project: HBase > Issue Type: Improvement > Components: shell > Reporter: Rushabh Shah > Priority: Major > > In shell, we have custom formatter to convert from bytes to Long/Int for > long/int data type values. > Many times we store the epoch timestamp (event creation, updation time) as > long in our table columns. Even after converting this column to Long, the > date is not in a human readable format. We still have to convert this long > into date using some bash shell tricks and it is not convenient to do for > many columns. We can introduce a new format method called +toLongDate+ which > signifies that we want to convert the bytes to long first and then to date. > Please let me know if any such functionality already exists and I am not > aware of. -- This message was sent by Atlassian Jira (v8.3.4#803005)