Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-23930

Shell should attempt to format `timestamp` attributes as ISO-8601

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha-1, 2.3.0
    • Component/s: shell, Usability
    • Labels:
      None
    • Release Note:
      Hide
      Change timestamp display to be ISO8601 when toString on Cell and outputting in shell....

      User used to see....
          
        column=table:state, timestamp=1583967620343 .....

      ... but now sees:

        column=table:state, timestamp=2020-03-11T23:00:20.343Z ....
      Show
      Change timestamp display to be ISO8601 when toString on Cell and outputting in shell.... User used to see....        column=table:state, timestamp=1583967620343 ..... ... but now sees:   column=table:state, timestamp=2020-03-11T23:00:20.343Z ....

      Description

      Most of the time, the timestamp: long attribute of a cell is a timestamp. The shell should make an attempt to interpret these values as timestamps and print them out as such. Current practice is to copy the value out and pass it through an external tool.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stack Michael Stack
                Reporter:
                ndimiduk Nick Dimiduk
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: