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

Backport HBASE-6592 to 0.94 branch

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.94.14
    • None
    • shell
    • None

    Description

      Users tend to run hbase shell to query hbase quickly. The result will be shown as binary format which may not look clear enough when users write columns using specified types, such as long/int/short. Therefore, it may be helpful if the results could be shown as specified format. We make a patch to extend get/scan in hbase shell in which user could specify the data type in get/scan for each column as:

      scan 'table', {COLUMNS=>['CF:QF:long']}
      get 'table', 'r0', {COLUMN=>'CF:QF:long'}
      

      Then, the result will be shown as Long type. The result of above get will be:

      COLUMN                                        CELL                                                                                                           
       CF:QF                                timestamp=24311261, value=24311229
      

      This extended format is compatible with previous format, if users do not specify the data type, the command will also work and output binary format.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            cuijianwei Jianwei Cui
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment