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 8AF9310122 for ; Thu, 6 Mar 2014 19:04:59 +0000 (UTC) Received: (qmail 94447 invoked by uid 500); 6 Mar 2014 19:04:58 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 93676 invoked by uid 500); 6 Mar 2014 19:04:51 -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 93508 invoked by uid 500); 6 Mar 2014 19:04:47 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 93495 invoked by uid 99); 6 Mar 2014 19:04:47 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Mar 2014 19:04:47 +0000 Date: Thu, 6 Mar 2014 19:04:46 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-6565) OrcSerde should be added as NativeSerDe in SerDeUtils 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-6565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13922895#comment-13922895 ] Xuefu Zhang commented on HIVE-6565: ----------------------------------- [~branky] Thanks for pointing this out. I'm curious if this solves any particular problem. If so, putting the problem in the description would be very helpful. I asked the question because I thought this might solve HIVE-4703. I tried but it seemed not helping that. Thanks. > OrcSerde should be added as NativeSerDe in SerDeUtils > ----------------------------------------------------- > > Key: HIVE-6565 > URL: https://issues.apache.org/jira/browse/HIVE-6565 > Project: Hive > Issue Type: Bug > Components: Serializers/Deserializers > Affects Versions: 0.12.0 > Reporter: Branky Shao > > If the table defined as ORC format, the columns info can be fetched from StorageDescriptor, no need to get from SerDe. > And obviously, ORC is a Hive's native file format, therefore, OrcSerde should be added as NativeSerDe in SerDeUtils. > The fix is fairly simple, just add single line in SerDeUtils : > nativeSerDeNames.add(org.apache.hadoop.hive.ql.io.orc.OrcSerde.class.getName()); -- This message was sent by Atlassian JIRA (v6.2#6252)