ASF GitHub Bot commented on FLINK-9337:

Github user StephanEwen commented on a diff in the pull request:

    --- Diff: 
    @@ -0,0 +1,215 @@
    --- End diff --
    This class uses a mixture of eager initialization of transient members (in 
readObject()) and lazy initialization (in getDatumReader()).
    I would suggest to do it all one way or the other.
    My suggestion would be to avoid `readObject()` whenever possible. If you 
encounter an exception during schema parsing (and it may be something weird 
from Jackson, like a missing manifest due to a shading issue), you will get the 
most unhelpful exception stack trace ever, in the weirdest place (like Flink's 
RPC message decoder).
    In my experience, when a user sees such a stack trace, they are rarely able 
to diagnose that. Best case they show up on the mailing list, worst case they 
give up.

> Implement AvroDeserializationSchema
> -----------------------------------
>                 Key: FLINK-9337
>                 URL: https://issues.apache.org/jira/browse/FLINK-9337
>             Project: Flink
>          Issue Type: New Feature
>            Reporter: Dawid Wysakowicz
>            Assignee: Dawid Wysakowicz
>            Priority: Major

This message was sent by Atlassian JIRA

Reply via email to