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

Aljoscha Krettek commented on FLINK-11539:
------------------------------------------

The solution [~igalshilman] and I were thinking of was to employ a cache in the 
{{compileCbf}} method here: 
https://github.com/apache/flink/blob/master/flink-scala/src/main/scala/org/apache/flink/api/scala/typeutils/TraversableSerializer.scala.
 The cache would likely have to be keyed by the code itself (which is a string) 
and the current Thread or context ClassLoader (because that is used in the 
method for compilation).

> Add TypeSerializerSnapshot for TraversableSerializer
> ----------------------------------------------------
>
>                 Key: FLINK-11539
>                 URL: https://issues.apache.org/jira/browse/FLINK-11539
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / Type Serialization System
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.8.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> This will replace the deprecated {{TypeSerializerConfigSnapshot}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to