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

Support ColumnVector.Array.to<type>Array()

    XMLWordPrintableJSON

Details

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

    Description

      When to<type>Array() in ColumnVector.Array (e.g. toIntArray()) is called, the generic method in ArrayData is called. It is not fast since element-wise copy is performed.
      This JIRA entry implements bulk-copy for these methods in ColumnVector.Array by using System.arrayCopy() or Platform.copyMemory().

      Attachments

        Activity

          People

            kiszk Kazuaki Ishizaki
            kiszk Kazuaki Ishizaki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: