You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Navis (JIRA)" <ji...@apache.org> on 2014/07/17 06:41:05 UTC
[jira] [Commented] (HIVE-7433) ColumnMappins.ColumnMapping should
expose public accessors for its fields
[ https://issues.apache.org/jira/browse/HIVE-7433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14064568#comment-14064568 ]
Navis commented on HIVE-7433:
-----------------------------
+1
> 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)