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

Support more generic way of using composite key for HBaseHandler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.14.0
    • HBase Handler
    • None
    • 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;
      }
      

      Attachments

        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 Ryu
        4. HIVE-6411.8.patch.txt
          178 kB
          Navis Ryu
        5. HIVE-6411.7.patch.txt
          172 kB
          Navis Ryu
        6. HIVE-6411.6.patch.txt
          100 kB
          Navis Ryu
        7. HIVE-6411.5.patch.txt
          93 kB
          Navis Ryu
        8. HIVE-6411.4.patch.txt
          94 kB
          Navis Ryu
        9. HIVE-6411.3.patch.txt
          85 kB
          Navis Ryu
        10. HIVE-6411.2.patch.txt
          53 kB
          Navis Ryu
        11. HIVE-6411.1.patch.txt
          46 kB
          Navis Ryu

        Issue Links

          Activity

            People

              navis Navis Ryu
              navis Navis Ryu
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: