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

          Navis created issue -
          Phabricator made changes -
          Field Original Value New Value
          Attachment HIVE-2828.D1989.1.patch [ 12516249 ]
          Phabricator made changes -
          Attachment HIVE-2828.D1989.2.patch [ 12517533 ]
          Phabricator made changes -
          Attachment HIVE-2828.D1989.3.patch [ 12518608 ]
          Navis made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Phabricator made changes -
          Attachment HIVE-2828.D1989.4.patch [ 12518773 ]
          Phabricator made changes -
          Attachment HIVE-2828.D1989.5.patch [ 12519586 ]
          Navis made changes -
          Link This issue duplicates HIVE-2306 [ HIVE-2306 ]
          Navis made changes -
          Attachment HIVE-2828.6.patch.txt [ 12665836 ]
          Navis made changes -
          Attachment HIVE-2828.7.patch.txt [ 12665849 ]
          Navis made changes -
          Remote Link This issue links to "review board (Web Link)" [ 17928 ]
          Muhammad Ehsan ul Haque made changes -
          Link This issue is duplicated by HIVE-8267 [ HIVE-8267 ]
          Navis made changes -
          Attachment HIVE-2828.8.patch.txt [ 12672261 ]
          Navis made changes -
          Link This issue is duplicated by HIVE-8267 [ HIVE-8267 ]
          Navis made changes -
          Link This issue blocks HIVE-8267 [ HIVE-8267 ]
          Navis made changes -
          Attachment HIVE-2828.9.patch.txt [ 12674889 ]
          Navis made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 0.15.0 [ 12328723 ]
          Resolution Fixed [ 1 ]
          Lefty Leverenz made changes -
          Labels TODOC15
          Brock Noland made changes -
          Fix Version/s 1.1.0 [ 12329363 ]
          Fix Version/s 0.15.0 [ 12328723 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development