Liang-Chi Hsieh created SPARK-15701:
---------------------------------------
Summary: 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: [email protected]
For additional commands, e-mail: [email protected]