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 0D769117F4 for ; Tue, 23 Sep 2014 22:02:35 +0000 (UTC) Received: (qmail 60091 invoked by uid 500); 23 Sep 2014 22:02:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 60020 invoked by uid 500); 23 Sep 2014 22:02:34 -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 59761 invoked by uid 500); 23 Sep 2014 22:02:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 59757 invoked by uid 99); 23 Sep 2014 22:02:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2014 22:02:34 +0000 Date: Tue, 23 Sep 2014 22:02:34 +0000 (UTC) From: "Mohit Sabharwal (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-8205) Using strings in group type fails in ParquetSerDe 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-8205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14145525#comment-14145525 ] Mohit Sabharwal commented on HIVE-8205: --------------------------------------- Failure is unrelated to patch. > Using strings in group type fails in ParquetSerDe > ------------------------------------------------- > > Key: HIVE-8205 > URL: https://issues.apache.org/jira/browse/HIVE-8205 > Project: Hive > Issue Type: Bug > Components: Serializers/Deserializers > Reporter: Mohit Sabharwal > Assignee: Mohit Sabharwal > Labels: parquet > Attachments: HIVE-8205.1.patch, HIVE-8205.1.patch, HIVE-8205.patch > > > In HIVE-7735, schema info was plumbed to ETypeConverter to disambiguate between hive Char, Varchar and String types, which are all represented as PrimitiveType "binary" and OriginalType "utf8" in parquet. > However, this does not work for parquet nested types (that map to hive Array, Map, etc.) containing these values, because schema lookup for nested values was not implemented. It's also non-trivial to do that in the current parquet serde implementation. Instead of plumbing in the schema, we should convert > these types to the same Text writeable and let the object inspectors handle the final conversion. -- This message was sent by Atlassian JIRA (v6.3.4#6332)