[
https://issues.apache.org/jira/browse/ASTERIXDB-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15990099#comment-15990099
]
Till commented on ASTERIXDB-1896:
---------------------------------
It seems that the ResultTypeComputer should only be used at compile-time and
thus is not needed in the job specification. So one way to avoid the problem
would be indeed to make the interface Serializable or the field transient.
Taking a step back, I'm wondering why the ExternalFunctionInfo should be be
part of the job specification. It seems that most of the information should not
be required at runtime.
Could we just put the required information into the job specification?
> TypeComputer is not serializable in ExternalFunctionInfo
> --------------------------------------------------------
>
> Key: ASTERIXDB-1896
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-1896
> Project: Apache AsterixDB
> Issue Type: Bug
> Reporter: Xikui Wang
> Assignee: Xikui Wang
>
> The job specification serialization fails if there is an External UDF in the
> feed workflow. The 'IResultTypeComputer' in ExternalFunctionInfo cannot be
> serialized properly as it's not serializable.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)