[ https://issues.apache.org/jira/browse/SPARK-15701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Liang-Chi Hsieh closed SPARK-15701. ----------------------------------- Resolution: Not A Problem > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org