Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 38EDA10A91 for ; Fri, 14 Feb 2014 07:00:29 +0000 (UTC) Received: (qmail 52693 invoked by uid 500); 14 Feb 2014 07:00:26 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 52343 invoked by uid 500); 14 Feb 2014 07:00:24 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 52325 invoked by uid 500); 14 Feb 2014 07:00:23 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 52322 invoked by uid 99); 14 Feb 2014 07:00:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Feb 2014 07:00:23 +0000 Date: Fri, 14 Feb 2014 07:00:23 +0000 (UTC) From: "Brock Noland (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-6411) Support more generic way of using composite key for HBaseHandler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-6411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13901166#comment-13901166 ] Brock Noland commented on HIVE-6411: ------------------------------------ I also don't think the test failures are related. [~xuefuz] also looked at the hbase composite key changes IIRC. > Support more generic way of using composite key for HBaseHandler > ---------------------------------------------------------------- > > Key: HIVE-6411 > URL: https://issues.apache.org/jira/browse/HIVE-6411 > Project: Hive > Issue Type: Improvement > Components: HBase Handler > Reporter: Navis > Assignee: Navis > Priority: Minor > Attachments: HIVE-6411.1.patch.txt > > > 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. > {code} > public interface HBaseKeyFactory { > void init(SerDeParameters parameters, Properties properties) throws SerDeException; > ObjectInspector createObjectInspector(TypeInfo type) throws SerDeException; > LazyObjectBase createObject(ObjectInspector inspector) throws SerDeException; > } > {code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)