Hive
  1. Hive
  2. HIVE-2828

make timestamp accessible in the hbase KeyValue

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: HBase Handler
    • Labels:

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development