Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-30558

Avoid rebuilding `AvroOptions` per each partition

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • SQL
    • None

    Description

      Currently, an instance of `AvroOptions` is created per each partition. This can be avoid by building it only once and pass to `AvroScan`. See https://github.com/apache/spark/pull/27174#discussion_r365596481 for more details.

      Attachments

        Issue Links

          Activity

            People

              maxgekk Max Gekk
              maxgekk Max Gekk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: