You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/06/01 14:55:59 UTC

[jira] [Commented] (SPARK-15701) Constant ColumnVector only needs to prepare one capacity

    [ https://issues.apache.org/jira/browse/SPARK-15701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15310428#comment-15310428 ] 

Apache Spark commented on SPARK-15701:
--------------------------------------

User 'viirya' has created a pull request for this issue:
https://github.com/apache/spark/pull/13439

> Constant ColumnVector only needs to prepare one capacity
> --------------------------------------------------------
>
>                 Key: SPARK-15701
>                 URL: https://issues.apache.org/jira/browse/SPARK-15701
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Liang-Chi Hsieh
>
> ColumnVector has a variable to mark it is a constant ColumnVector or not. However, we still let constant ColumnVector prepate the space needed for all its capacity. Actually because constant  ColumnVector only has one distinct value. It only needs to prepare one capacity. This can reduce its memory usage and speed up data access.



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

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