Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-2828

make timestamp accessible in the hbase KeyValue

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

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 1.1.0
    • HBase Handler
    • None

    Description

      Originated from HIVE-2781 and not accepted, but I think this could be helpful to someone.

      By using special column notation ':timestamp' in HBASE_COLUMNS_MAPPING, user might access timestamp value in hbase KeyValue.

      CREATE TABLE hbase_table (key int, value string, time timestamp)
        STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
        WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,cf:string,:timestamp")
      

      Attachments

        1. HIVE-2828.9.patch.txt
          64 kB
          Navis Ryu
        2. HIVE-2828.8.patch.txt
          67 kB
          Navis Ryu
        3. HIVE-2828.7.patch.txt
          61 kB
          Navis Ryu
        4. HIVE-2828.6.patch.txt
          58 kB
          Navis Ryu
        5. ASF.LICENSE.NOT.GRANTED--HIVE-2828.D1989.5.patch
          45 kB
          Phabricator
        6. ASF.LICENSE.NOT.GRANTED--HIVE-2828.D1989.4.patch
          42 kB
          Phabricator
        7. ASF.LICENSE.NOT.GRANTED--HIVE-2828.D1989.3.patch
          38 kB
          Phabricator
        8. ASF.LICENSE.NOT.GRANTED--HIVE-2828.D1989.2.patch
          57 kB
          Phabricator
        9. ASF.LICENSE.NOT.GRANTED--HIVE-2828.D1989.1.patch
          22 kB
          Phabricator

        Issue Links

        Activity

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

          People

            navis Navis Ryu Assign to me
            navis Navis Ryu
            Votes:
            4 Vote for this issue
            Watchers:
            19 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment