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

Thiruvalluvan M. G. updated AVRO-390:
-------------------------------------

    Attachment: AVRO-390-test.patch
                AVRO-390.patch

> ResolvingDecoder does not handle default values for records well
> ----------------------------------------------------------------
>
>                 Key: AVRO-390
>                 URL: https://issues.apache.org/jira/browse/AVRO-390
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>            Reporter: Thiruvalluvan M. G.
>         Attachments: AVRO-390-test.patch, AVRO-390.patch
>
>
> Default values for simple fields work fine. But if a field is of type record 
> and that field has default value, the values are inserted fine. But since the 
> client has no knowledge that what is being read is a default value, it tries 
> to get the field order of this record using readFieldOrder(). But the current 
> implementation does not expect such a call. The accompanying test patch 
> catches the problem. The actual patch fixes the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to