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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: SQL
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: