dawidwys commented on issue #7584: [FLINK-11030] Make SpecificData of 
AvroDeserializationScheme configurable
URL: https://github.com/apache/flink/pull/7584#issuecomment-458035366
 
 
   I think this is a valid approach on the Kafka serialization schema side. 
Unfortunately the registered factory is not propagated to `AvroSerializer` via 
`getProducedType`, what will result in a failure if it is used for non-chained 
operators.
   
   I think if we want to fix it properly and completely we should do a similar 
thing for `AvroTypeInfo`/`GenericRecordAvroTypeInfo`/`AvroSerializer`.
   
   A workaround that I am aware of for this issue without any changes on flink 
side would be to use `conversions` field for SpecificData, but unfortunately it 
is broken for avro <= 1.9, if logical types are used for unions, arrays etc. 
(https://issues.apache.org/jira/browse/AVRO-2065, 
https://issues.apache.org/jira/browse/AVRO-1891).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to