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

Improve the performance for setInterval & getInterval of UnsafeRow

    XMLWordPrintableJSON

Details

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

    Description

      As we know, UnsafeRow stores each field with 8 bytes or Long.
      UnsafeRow supports read and store CalendarInterval.
      After my investigation, getLong/putLong of Platform have better performance than call getInt/putInt of Platform twice.

      Attachments

        Activity

          People

            beliefer Jiaan Geng
            beliefer Jiaan Geng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: