Avro
  1. Avro
  2. AVRO-673

Reduce time spent validating schemas

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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.

        Activity

        Erik Frey created issue -
        Erik Frey made changes -
        Field Original Value New Value
        Attachment AVRO-673.patch [ 12455524 ]
        Doug Cutting made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Assignee Erik Frey [ erikfrey ]
        Fix Version/s 1.4.1 [ 12315281 ]
        Doug Cutting made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development