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

ColumnMappins.ColumnMapping should expose public accessors for its fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • HBase Handler
    • None

    Description

      The changes from https://issues.apache.org/jira/browse/HIVE-6411 allow users to write their own HBaseKeyFactory implementations in order to customize the serialization and predicate pushdown for composite HBase row keys. AbstractHBaseKeyFactory allows users to use the hive-hbase column mapping information through a protected ColumnMappings.ColumnMapping keyMapping member.

      However, ColumnMappings.ColumnMapping exposes no public members (everything is package private org.apache.hadoop.hive.hbase), meaning that custom HBaseKeyFactory implementations created outside of the package can't access the any attributes of the class.

      ColumnMappings.ColumnMapping should expose public getter methods for its attributes.

      Attachments

        1. HIVE-7433.patch
          2 kB
          Andrew Mains

        Activity

          People

            amains12 Andrew Mains
            amains12 Andrew Mains
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: