[
https://issues.apache.org/jira/browse/AVRO-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798712#action_12798712
]
Doug Cutting commented on AVRO-304:
-----------------------------------
This is already possible. One creates the SpecificDatumReader using the
expected class. The user of the DatumReader (e.g., DataFileReader) can then
call setSchema() with the actual schema.
> There should be a way to do schema resolution with SpecificDatumReader
> ----------------------------------------------------------------------
>
> Key: AVRO-304
> URL: https://issues.apache.org/jira/browse/AVRO-304
> Project: Avro
> Issue Type: Improvement
> Components: java
> Reporter: Thiruvalluvan M. G.
> Assignee: Thiruvalluvan M. G.
> Attachments: AVRO-304.patch
>
>
> Presently one could do schema resolution (where the schema of the Avro data
> stream is different from the Schema desired by the reader) only with
> GenericDatumReader. A similar facility is needed for SpecificDatumReader as
> well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.