hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-3410) All operators's conf should inherit from a common class
Date Mon, 27 Aug 2012 17:10:08 GMT
Namit Jain created HIVE-3410:
--------------------------------

             Summary: All operators's conf should inherit from a common class
                 Key: HIVE-3410
                 URL: https://issues.apache.org/jira/browse/HIVE-3410
             Project: Hive
          Issue Type: Improvement
            Reporter: Namit Jain


I faced this problem while working on HIVE-3086.
Wanted to add a common interface to all the operator's confs.

Currently, the operator signature is Operator<T extends Serializable>,
which makes it difficult to add more methods to T.

Created a common interface SerializableCloneable, and now 
Operator<T extends SerializableCloneable>.

If we want to add more methods to SerializableCloneable in the future,
it wont require changing so many files, so submitting it as a separate patch.

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

Mime
View raw message