[
https://issues.apache.org/jira/browse/FLINK-5876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ufuk Celebi closed FLINK-5876.
------------------------------
Resolution: Fixed
Fix Version/s: 1.2.1
1.3.0
> Mention Scala type fallacies for queryable state client serializers
> -------------------------------------------------------------------
>
> Key: FLINK-5876
> URL: https://issues.apache.org/jira/browse/FLINK-5876
> Project: Flink
> Issue Type: Improvement
> Components: Documentation
> Reporter: Ufuk Celebi
> Fix For: 1.3.0, 1.2.1
>
>
> FLINK-5801 shows a very hard to debug issue when querying state from the
> Scala API that can result in serializer mismatches between the client and the
> job.
> We should mention that the type serializers should be created via the Scala
> macros.
> {code}
> import org.apache.flink.streaming.api.scala._
> ...
> val keySerializer = createTypeInformation[Long].createSerializer(new
> ExecutionConfig)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)