Liang-Chi Hsieh created SPARK-23875:
---------------------------------------

             Summary: Create IndexedSeq wrapper for ArrayData
                 Key: SPARK-23875
                 URL: https://issues.apache.org/jira/browse/SPARK-23875
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Liang-Chi Hsieh


We don't have a good way to sequentially access {{UnsafeArrayData}} with a 
common interface such as Seq. An example is {{MapObject}} where we need to 
access several sequence collection types together. ButĀ {{UnsafeArrayData}} 
doesn't implementĀ {{ArrayData.array}}. We can provide an {{IndexedSeq}} wrapper 
for {{ArrayData}}, so we can avoid copying the entire array.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to