Uploaded image for project: 'Avro'
  1. Avro
  2. AVRO-673

Reduce time spent validating schemas

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.1
    • Component/s: python
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              erikfrey Erik Frey
              Reporter:
              erikfrey Erik Frey
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: