You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ufuk Celebi (JIRA)" <ji...@apache.org> on 2017/02/21 18:13:44 UTC
[jira] [Created] (FLINK-5876) Mention Scala type fallacies for
queryable state client serializers
Ufuk Celebi created FLINK-5876:
----------------------------------
Summary: 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
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)