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

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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.2
    • Fix Version/s: None
    • Component/s: java
    • Labels:
      None
    • Flags:
      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

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

              Dates

              • Created:
                Updated: