[
https://issues.apache.org/jira/browse/HIVE-7433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Mains updated HIVE-7433:
-------------------------------
Attachment: HIVE-7433.patch
I've attached a patch implementing basic getters for all of the fields; it also
makes the class itself public.
> ColumnMappins.ColumnMapping should expose public accessors for its fields
> -------------------------------------------------------------------------
>
> Key: HIVE-7433
> URL: https://issues.apache.org/jira/browse/HIVE-7433
> Project: Hive
> Issue Type: Bug
> Components: HBase Handler
> Reporter: Andrew Mains
> Priority: Trivial
> Attachments: HIVE-7433.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)