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 A6FB8D243 for ; Fri, 3 Aug 2012 17:25:03 +0000 (UTC) Received: (qmail 43093 invoked by uid 500); 3 Aug 2012 17:25:03 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 42969 invoked by uid 500); 3 Aug 2012 17:25:03 -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 42949 invoked by uid 500); 3 Aug 2012 17:25:03 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 42946 invoked by uid 99); 3 Aug 2012 17:25:03 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2012 17:25:03 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id DC65A142851 for ; Fri, 3 Aug 2012 17:25:02 +0000 (UTC) Date: Fri, 3 Aug 2012 17:25:02 +0000 (UTC) From: "Eli Reisman (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <259674204.11194.1344014702906.JavaMail.jiratomcat@issues-vm> In-Reply-To: <570217241.65129.1342550854427.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HIVE-3264) Add support for binary dataype to AvroSerde 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-3264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eli Reisman updated HIVE-3264: ------------------------------ Attachment: HIVE-3264-2.patch makes sure AvroDeserializer unwraps byte[] from ByteBuffer before returning deserialized byte[]. Still wondering why the tests did catch this the first time, looking at them, possibly a subsequent patch/JIRA on the way on that one... > Add support for binary dataype to AvroSerde > ------------------------------------------- > > Key: HIVE-3264 > URL: https://issues.apache.org/jira/browse/HIVE-3264 > Project: Hive > Issue Type: Bug > Components: Serializers/Deserializers > Affects Versions: 0.9.0 > Reporter: Jakob Homan > Labels: patch > Attachments: HIVE-3264-1.patch, HIVE-3264-2.patch > > > When the AvroSerde was written, Hive didn't have a binary type, so Avro's byte array type is converted an array of small ints. Now that HIVE-2380 is in, this step isn't necessary and we can convert both Avro's bytes type and probably fixed type to Hive's binary type. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira