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

2010-02-10 Thread He Yongqiang (JIRA)

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

He Yongqiang commented on HIVE-1122:


Will test and commit

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



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

2010-02-10 Thread Paul Yang (JIRA)

[ 
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.