You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2014/03/06 20:04:46 UTC

[jira] [Commented] (HIVE-6565) OrcSerde should be added as NativeSerDe in SerDeUtils

    [ 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)