You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Paul Yang (JIRA)" <ji...@apache.org> on 2010/02/11 02:28:31 UTC

[jira] Commented: (HIVE-1122) Make ql/metadata/Table and Partition serializable

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

Paul Yang commented on HIVE-1122:
---------------------------------

Looks good +1

> Make ql/metadata/Table and Partition serializable
> -------------------------------------------------
>
>                 Key: HIVE-1122
>                 URL: https://issues.apache.org/jira/browse/HIVE-1122
>             Project: Hadoop Hive
>          Issue Type: Improvement
>    Affects Versions: 0.6.0
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>         Attachments: HIVE-1122.4.patch, HIVE-1122.5.patch, HIVE-1122.pre.1.patch
>
>
> Both Table and Partition are just wrappers of the thrift class TTable and TPartition.
> However, Table and Partition are not serializable, and there are no guarantee in the code to make sure Table is in sync with the field of TTable.
> We should make Table and Partition serializable by only serializing the TTable and TPartition fields, and we should hide the TTable details inside the Table class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.