Hive
  1. Hive
  2. HIVE-2828

make timestamp accessible in the hbase KeyValue

    Details

    • Type: Improvement Improvement
    • Status: Patch Available
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • 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")
      

        Issue Links

          Activity

          Navis made changes -
          Link This issue duplicates HIVE-2306 [ HIVE-2306 ]
          Phabricator made changes -
          Attachment HIVE-2828.D1989.5.patch [ 12519586 ]
          Phabricator made changes -
          Attachment HIVE-2828.D1989.4.patch [ 12518773 ]
          Navis made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Phabricator made changes -
          Attachment HIVE-2828.D1989.3.patch [ 12518608 ]
          Phabricator made changes -
          Attachment HIVE-2828.D1989.2.patch [ 12517533 ]
          Phabricator made changes -
          Field Original Value New Value
          Attachment HIVE-2828.D1989.1.patch [ 12516249 ]
          Navis created issue -

            People

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

              Dates

              • Created:
                Updated:

                Development