avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-673) Reduce time spent validating schemas
Date Fri, 08 Oct 2010 21:16:30 GMT

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

Doug Cutting updated AVRO-673:
------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I just committed this.  Thanks, Erik!

> Reduce time spent validating schemas
> ------------------------------------
>
>                 Key: AVRO-673
>                 URL: https://issues.apache.org/jira/browse/AVRO-673
>             Project: Avro
>          Issue Type: Improvement
>          Components: python
>            Reporter: Erik Frey
>            Assignee: Erik Frey
>            Priority: Minor
>             Fix For: 1.4.1
>
>         Attachments: AVRO-673.patch
>
>
> avro.io has a validate method that currently occupies around half the time it takes to
serialize a fairly complex record through a datafile.  validate() gets called repeatedly during
an object's traversal, even though validate itself is already recursive.  This introduces
combinatorially excessive validation that has a significant impact on the performance of serializing
complex records.

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


Mime
View raw message