Mark transient fields with property transient
---------------------------------------------
Key: HIVE-1160
URL: https://issues.apache.org/jira/browse/HIVE-1160
Project: Hadoop Hive
Issue Type: Improvement
Affects Versions: 0.6.0
Reporter: Zheng Shao
Assignee: Zheng Shao
See
http://java.sun.com/javase/6/docs/api/java/beans/DefaultPersistenceDelegate.html#initialize(java.lang.Class,
java.lang.Object, java.lang.Object, java.beans.Encoder)
"If a property descriptor defines a "transient" attribute with a value equal to
Boolean.TRUE the property is ignored by this default implementation. Note that
this use of the word "transient" is quite independent of the field modifier
that is used by the ObjectOutputStream."
Hive has been using the "transient" field modifier. We should use a "transient"
attribute with a value equal to Boolean.TRUE.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.