You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2014/10/22 10:11:33 UTC
[jira] [Commented] (HIVE-8560) SerDes that do not inherit
AbstractSerDe do not get table properties during initialize()
[ https://issues.apache.org/jira/browse/HIVE-8560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14179710#comment-14179710 ]
Jason Dere commented on HIVE-8560:
----------------------------------
[~xuefuz] [~erwaman] is this fix ok?
> SerDes that do not inherit AbstractSerDe do not get table properties during initialize()
> ----------------------------------------------------------------------------------------
>
> Key: HIVE-8560
> URL: https://issues.apache.org/jira/browse/HIVE-8560
> Project: Hive
> Issue Type: Bug
> Components: Serializers/Deserializers
> Reporter: Jason Dere
> Assignee: Jason Dere
> Attachments: HIVE-8560.1.patch
>
>
> Looks like this may have been introduced during HIVE-6835. During initialize(), 3rd party SerDes which do not inherit AbstractSerDe end up getting a Properties object created by SerDeUtils.createOverlayedProperties(). This properties object receives the table properties as defaults. So looking up a key by name will yield the default value, but a call like getKeys() will not show any of the table properties.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)