[ 
https://issues.apache.org/jira/browse/HIVE-8560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14180186#comment-14180186
 ] 

Jason Dere commented on HIVE-8560:
----------------------------------

Agreed that the serde probably should have used stringPropertyNames(). But it 
wouldn't hurt here if the table properties were set directly in the Properties 
(as opposed to being set in the defaults), and then overlayed by the partition 
properties (if any), right?

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

Reply via email to