Hive
  1. Hive
  2. HIVE-6411

Support more generic way of using composite key for HBaseHandler

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0
    • Component/s: HBase Handler
    • Labels:
      None
    • Release Note:
      The new feature needs to be documented at Hive-HBase integration page.

      Description

      HIVE-2599 introduced using custom object for the row key. But it forces key objects to extend HBaseCompositeKey, which is again extension of LazyStruct. If user provides proper Object and OI, we can replace internal key and keyOI with those.

      Initial implementation is based on factory interface.

      public interface HBaseKeyFactory {
        void init(SerDeParameters parameters, Properties properties) throws SerDeException;
        ObjectInspector createObjectInspector(TypeInfo type) throws SerDeException;
        LazyObjectBase createObject(ObjectInspector inspector) throws SerDeException;
      }
      
      1. HIVE-6411.11.patch.txt
        189 kB
        Swarnim Kulkarni
      2. HIVE-6411.10.patch.txt
        189 kB
        Swarnim Kulkarni
      3. HIVE-6411.9.patch.txt
        188 kB
        Navis
      4. HIVE-6411.8.patch.txt
        178 kB
        Navis
      5. HIVE-6411.7.patch.txt
        172 kB
        Navis
      6. HIVE-6411.6.patch.txt
        100 kB
        Navis
      7. HIVE-6411.5.patch.txt
        93 kB
        Navis
      8. HIVE-6411.4.patch.txt
        94 kB
        Navis
      9. HIVE-6411.3.patch.txt
        85 kB
        Navis
      10. HIVE-6411.2.patch.txt
        53 kB
        Navis
      11. HIVE-6411.1.patch.txt
        46 kB
        Navis

        Issue Links

          Activity

          Navis created issue -
          Navis made changes -
          Field Original Value New Value
          Attachment HIVE-6411.1.patch.txt [ 12628439 ]
          Navis made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Navis made changes -
          Link This issue is related to HIVE-2599 [ HIVE-2599 ]
          Navis made changes -
          Remote Link This issue links to "review board (Web Link)" [ 14173 ]
          Navis made changes -
          Attachment HIVE-6411.2.patch.txt [ 12631672 ]
          Navis made changes -
          Attachment HIVE-6411.3.patch.txt [ 12632418 ]
          Navis made changes -
          Link This issue is related to HIVE-3684 [ HIVE-3684 ]
          Navis made changes -
          Attachment HIVE-6411.4.patch.txt [ 12632761 ]
          Navis made changes -
          Attachment HIVE-6411.5.patch.txt [ 12632985 ]
          Navis made changes -
          Attachment HIVE-6411.6.patch.txt [ 12633301 ]
          Navis made changes -
          Link This issue is related to HIVE-6290 [ HIVE-6290 ]
          Xuefu Zhang made changes -
          Link This issue requires HIVE-6677 [ HIVE-6677 ]
          Navis made changes -
          Attachment HIVE-6411.7.patch.txt [ 12636552 ]
          Navis made changes -
          Attachment HIVE-6411.8.patch.txt [ 12637969 ]
          Nick Dimiduk made changes -
          Link This issue is related to HBASE-10091 [ HBASE-10091 ]
          Navis made changes -
          Attachment HIVE-6411.9.patch.txt [ 12638202 ]
          Swarnim Kulkarni made changes -
          Attachment HIVE-6411.10.patch.txt [ 12643656 ]
          Swarnim Kulkarni made changes -
          Attachment HIVE-6411.11.patch.txt [ 12643959 ]
          Swarnim Kulkarni made changes -
          Link This issue is blocked by HIVE-7048 [ HIVE-7048 ]
          Swarnim Kulkarni made changes -
          Link This issue is blocked by HIVE-7048 [ HIVE-7048 ]
          Swarnim Kulkarni made changes -
          Link This issue is related to HIVE-7048 [ HIVE-7048 ]
          Xuefu Zhang made changes -
          Link This issue supercedes HIVE-7048 [ HIVE-7048 ]
          Xuefu Zhang made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Release Note The new feature needs to be documented at Hive-HBase integration page.
          Fix Version/s 0.14.0 [ 12326450 ]
          Resolution Fixed [ 1 ]
          Lefty Leverenz made changes -
          Labels TODOC14
          Thejas M Nair made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Lefty Leverenz made changes -
          Labels TODOC14

            People

            • Assignee:
              Navis
              Reporter:
              Navis
            • Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development