[ 
https://issues.apache.org/jira/browse/AVRO-2748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17042626#comment-17042626
 ] 

Michael A. Smith commented on AVRO-2748:
----------------------------------------

Please note that lang/py3 (avro-python3) is deprecated in favor of lang/py 
(avro), which is python3 compatible in the master branch and will be so in 
1.10. They're very similar, so it's likely that this performance issue exists 
in both places. Can you reproduce it in lang/py in master, or provide 
instructions for someone else to do the same?

> py3 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 py3 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)

Reply via email to