[
https://issues.apache.org/jira/browse/HIVE-6765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949052#comment-13949052
]
Adrian Wang commented on HIVE-6765:
-----------------------------------
I added a PersistenceDelegate in serializeObject() in Class Utilities and
resolved the problem. later I'll attach the patch.
> ASTNodeOrigin unserializable leads to fail when join with view
> --------------------------------------------------------------
>
> Key: HIVE-6765
> URL: https://issues.apache.org/jira/browse/HIVE-6765
> Project: Hive
> Issue Type: Bug
> Components: Query Processor
> Affects Versions: 0.12.0
> Reporter: Adrian Wang
>
> when a view contains a UDF, and the view comes into a JOIN operation, Hive
> will encounter a bug with stack trace like
> Caused by: java.lang.InstantiationException:
> org.apache.hadoop.hive.ql.parse.ASTNodeOrigin
> at java.lang.Class.newInstance0(Class.java:359)
> at java.lang.Class.newInstance(Class.java:327)
> at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
--
This message was sent by Atlassian JIRA
(v6.2#6252)