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

add a new constructor in DataFileReader & DataFileWriter with passing in Schema object

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.2
    • None
    • java
    • None
    • Patch, Important

    Description

      When processing big number of small files (with the same schema header), reading/writing each file need to read/write the head and parsing the json script, which is very slow. 

      If adding a new constructor in DataFileReader and DataFileWriter that allows pass in already parsed Schema object/script,  then it will greatly improve the reading/writing performance for such cases. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            htong Howard Tong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: