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

Orc struct serializer should look up field converters in an array rather than a linked list

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • SQL
    • None

    Description

      The OrcSerializer's struct converter uses an index to look up a field converter in a linked list, resulting in a n*(n/2) average complexity per row (where n is the field count).

      Simply converting the linked list to an array brings performance gains, especially for wide structs.

      Attachments

        Activity

          People

            bersprockets Bruce Robbins
            bersprockets Bruce Robbins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: