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

make timestamp accessible in the hbase KeyValue

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: HBase Handler
    • Labels:
      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
        2. HIVE-2828.8.patch.txt
          67 kB
          Navis
        3. HIVE-2828.7.patch.txt
          61 kB
          Navis
        4. HIVE-2828.6.patch.txt
          58 kB
          Navis
        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

              People

              • Assignee:
                navis Navis
                Reporter:
                navis Navis
              • Votes:
                4 Vote for this issue
                Watchers:
                19 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: