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

Make SpecificInternalRow constructors faster by using while loops instead of maps

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0
    • SQL
    • None

    Description

      Two constructors in SpecificInternalRow can be made faster by using while loops instead of maps. This was originally noticed while working on SPARK-32532 and SPARK-32533 and will have impacts on performance of reading ORC and Avro files. Profiled the change using added benchmarks in SPARK-32531 for nested and array'd structs.

      Attachments

        Issue Links

          Activity

            People

              samkhan Muhammad Samir Khan
              samkhan Muhammad Samir Khan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: