[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718930#comment-13718930 ]
Jason Dere commented on HIVE-4222: ---------------------------------- Is this one ok commit? Looks like the unit tests had passed on 7/23, and it looks like the one tset that failed on 7/24 was because of a new test added for HIVE-4547, which didn't have a couple of data files in the original commit. > Timestamp type constants cannot be deserialized in JDK 1.6 or less > ------------------------------------------------------------------ > > Key: HIVE-4222 > URL: https://issues.apache.org/jira/browse/HIVE-4222 > Project: Hive > Issue Type: Bug > Components: Types > Reporter: Navis > Assignee: Navis > Attachments: HIVE-4222.D9681.1.patch, HIVE-4222.D9681.2.patch, > HIVE-4222.D9681.3.patch > > > For example, > {noformat} > ExprNodeConstantDesc constant = new > ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); > String serialized = Utilities.serializeExpression(constant); > ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) > Utilities.deserializeExpression(serialized, new Configuration()); > {noformat} > logs error message > {noformat} > java.lang.InstantiationException: java.sql.Timestamp > Continuing ... > java.lang.RuntimeException: failed to evaluate: <unbound>=Class.new(); > Continuing ... > {noformat} > and makes NPE in final. -- 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