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)

Reply via email to