Ted Yu created SPARK-14448:
------------------------------

             Summary: Improvements to ColumnVector
                 Key: SPARK-14448
                 URL: https://issues.apache.org/jira/browse/SPARK-14448
             Project: Spark
          Issue Type: Improvement
          Components: SQL
            Reporter: Ted Yu
            Priority: Minor


In this issue, two changes are proposed for ColumnVector :

1. ColumnVector should be declared as implementing AutoCloseable - it already 
has close() method

2. In OnHeapColumnVector#reserveInternal(), we only need to allocate new array 
when existing array is null or the length of existing array is shorter than the 
newCapacity.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to