You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2021/01/18 14:44:00 UTC

[jira] [Updated] (FLINK-21012) AvroFileFormatFactory uses non-deserializable lambda function

     [ https://issues.apache.org/jira/browse/FLINK-21012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Walther updated FLINK-21012:
---------------------------------
    Priority: Critical  (was: Major)

> AvroFileFormatFactory uses non-deserializable lambda function
> -------------------------------------------------------------
>
>                 Key: FLINK-21012
>                 URL: https://issues.apache.org/jira/browse/FLINK-21012
>             Project: Flink
>          Issue Type: Bug
>          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
>    Affects Versions: 1.12.0, 1.12.1
>            Reporter: Ingo Bürk
>            Priority: Critical
>
> In AvroFileFormatFactory#RowDataAvroWriterFactory a lambda function is used to create the factory. This can causes
> {code:java}
> Caused by: java.lang.IllegalArgumentException: Invalid lambda deserialization{code}
> There's other similar issues like FLINK-20147, FLINK-18857 and FLINK-18006 and the solution so far seems to have been to replace the lambda with an anonymous class instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)