[
https://issues.apache.org/jira/browse/ASTERIXDB-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15990162#comment-15990162
]
Xikui Wang commented on ASTERIXDB-1896:
---------------------------------------
The type computer in ExternalFunctionInfo is used in compilation, and the
parameter types, return type, classname (function body), function identifier
are used at runtime. Probably a RuntimeUDFInfo with these needed fields only?
It will be a complete subset of ExternalFunctionInfo though... Otherwise,
'field transient' seems to be the most practical workaround here... Thoughts?
> 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)