[
https://issues.apache.org/jira/browse/HIVE-6565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Branky Shao resolved HIVE-6565.
-------------------------------
Resolution: Incomplete
Since the issue was not so intuitive, it's not easy to elaborate. Anyway, as
mentioned in HIVE-4703, "gets the information from StorageDescriptor" would be
a longer fix, then I think we can resolve this issue.
> 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)