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 174AB1067B for ; Fri, 7 Mar 2014 02:56:50 +0000 (UTC) Received: (qmail 49765 invoked by uid 500); 7 Mar 2014 02:56:47 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 49647 invoked by uid 500); 7 Mar 2014 02:56:46 -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 49630 invoked by uid 500); 7 Mar 2014 02:56:46 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 49625 invoked by uid 99); 7 Mar 2014 02:56:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 02:56:46 +0000 Date: Fri, 7 Mar 2014 02:56:45 +0000 (UTC) From: "Branky Shao (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=13923468#comment-13923468 ] Branky Shao commented on HIVE-6565: ----------------------------------- Xuefu Zhang thanks for following up. I got few problems when I work on Cascading and Hive/HCatalog integration(https://github.com/branky/cascading.hive). They can be fixed along with HIVE-6163 (was also reported by me) and HIVE-5728. I did patch on my own fork of Hive(https://github.com/branky/hive/commit/20c62b3ec73a55d84eeffca6eab4af066e04e22a) to make the integration work. Regarding this issue, I found the fix may not be that simple. OrcSerde is included in ql module which depend on serde module actually. Then it will cause cyclic dependency. I would cancel this issue and try to find other workaround. > 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)