asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ASTERIXDB-1896) TypeComputer is not serializable in ExternalFunctionInfo
Date Sun, 30 Apr 2017 02:15:04 GMT

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

Mime
View raw message