You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2013/02/11 16:17:12 UTC

[jira] [Commented] (HIVE-4007) Create abstract classes for serializer and deserializer

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

Jarek Jarcec Cecho commented on HIVE-4007:
------------------------------------------

I'm +1 on the generic idea of having abstract classes instead of interfaces for such things as Serialize/Deserialize. Abstract classes are much more flexible for maintenance and new feature addition.

However changing existing code might not be easy as I'm anticipating that it will introduce backward incompatibility for all existing custom SerDes that are out there.
                
> Create abstract classes for serializer and deserializer
> -------------------------------------------------------
>
>                 Key: HIVE-4007
>                 URL: https://issues.apache.org/jira/browse/HIVE-4007
>             Project: Hive
>          Issue Type: Improvement
>          Components: Serializers/Deserializers
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>
> Currently, it is very difficult to change the Serializer/Deserializer
> interface, since all the SerDes directly implement the interface.
> Instead, we should have abstract classes for implementing these interfaces.
> In case of a interface change, only the abstract class and the relevant 
> serde needs to change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira