[ https://issues.apache.org/jira/browse/FLINK-6022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16245640#comment-16245640 ]
Robert Metzger commented on FLINK-6022: --------------------------------------- This whole JIRA is only about the case when people are using a DataStream<GenericRecord>. I agree its not a good idea, but people are doing it. As stated in the JIRA description, the schema of all records in a stream need to be the same for this to work. I believe we should keep this JIRA open, because the problem has not been addressed. > Don't serialise Schema when serialising Avro GenericRecord > ---------------------------------------------------------- > > Key: FLINK-6022 > URL: https://issues.apache.org/jira/browse/FLINK-6022 > Project: Flink > Issue Type: Improvement > Components: Type Serialization System > Reporter: Robert Metzger > Assignee: Stephan Ewen > Fix For: 1.5.0 > > > Currently, Flink is serializing the schema for each Avro GenericRecord in the > stream. > This leads to a lot of overhead over the wire/disk + high serialization costs. > Therefore, I'm proposing to improve the support for GenericRecord in Flink by > shipping the schema to each serializer through the AvroTypeInformation. > Then, we can only support GenericRecords with the same type per stream, but > the performance will be much better. -- This message was sent by Atlassian JIRA (v6.4.14#64029)