[
https://issues.apache.org/jira/browse/AVRO-2748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17042660#comment-17042660
]
Erik Erlandson commented on AVRO-2748:
--------------------------------------
Currently the 'match_schemas' function is flat: it doesn't recursively check
schema structures, but instead allows the recursion on data reading to drive
structural recursion. Schema matching itself should be made recursive, driven
by read-schema so it can ignore any write-schema structures that aren't being
requested for read.
> python schema resolution occurs on every read
> ---------------------------------------------
>
> Key: AVRO-2748
> URL: https://issues.apache.org/jira/browse/AVRO-2748
> Project: Apache Avro
> Issue Type: Bug
> Components: python
> Affects Versions: 1.9.2
> Reporter: Erik Erlandson
> Priority: Minor
>
> In python, the schema resolution appears to be happening on each read
> operation. I'm not an avro expert but in my perusing through the python io
> code I haven't yet noticed a reason that the schema resolution couldn't
> happen once up front, during the construction of DataFileReader, when it
> first loads the write_schema.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)