[ 
https://issues.apache.org/jira/browse/FLINK-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14589784#comment-14589784
 ] 

ASF GitHub Bot commented on FLINK-2124:
---------------------------------------

GitHub user jreiffers opened a pull request:

    https://github.com/apache/flink/pull/848

    [FLINK-2124] [streaming] Fix behavior of FromElementsFunction when T …

    …isn't Serializable
    
    rewrite FromElementsFunction to work with arbitrary types. The elements are 
serialized to a byte array (using a TypeSerializer) when the 
FromElementsFunction is constructed and deserialized when run is called.
    
    I also removed the (Collection<T>) constructor, because all Collections are 
Iterable.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jreiffers/flink flink-2124

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/848.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #848
    
----
commit 171bfd115572b3d11962c28b48db3f2ceefd8280
Author: Johannes Reifferscheid <[email protected]>
Date:   2015-06-17T13:35:37Z

    [FLINK-2124] [streaming] Fix behavior of FromElementsFunction when T isn't 
Serializable
    
    rewrite FromElementsFunction to work with arbitrary types. The elements
    are serialized to a byte array (using a TypeSerializer) when the 
FromElementsFunction is
    constructed and deserialized when run is called.

----


> FromElementsFunction is not really Serializable
> -----------------------------------------------
>
>                 Key: FLINK-2124
>                 URL: https://issues.apache.org/jira/browse/FLINK-2124
>             Project: Flink
>          Issue Type: Bug
>          Components: Streaming
>            Reporter: Aljoscha Krettek
>
> The function stores an Iterable of T. T is not necessarily Serializable and 
> and Iterable is also not necessarily Serializable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to