hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Mains (JIRA)" <>
Subject [jira] [Updated] (HIVE-7433) ColumnMappins.ColumnMapping should expose public accessors for its fields
Date Thu, 17 Jul 2014 04:25:04 GMT


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:
>             Project: Hive
>          Issue Type: Bug
>          Components: HBase Handler
>            Reporter: Andrew Mains
>            Priority: Trivial
>         Attachments: HIVE-7433.patch
> The changes from 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

View raw message