aboutsummaryrefslogtreecommitdiff
path: root/ec2
diff options
context:
space:
mode:
authorLiang-Chi Hsieh <viirya@gmail.com>2014-09-02 20:51:25 -0700
committerMichael Armbrust <michael@databricks.com>2014-09-02 20:51:25 -0700
commit24ab384018270e4f7af7eb8ca7192f337498eaf5 (patch)
tree0779cdbe04c3262a6e94f7262e78db9d752c91d5 /ec2
parent19d3e1e8e9c25c0936c0ad6efbc2092b473723aa (diff)
downloadspark-24ab384018270e4f7af7eb8ca7192f337498eaf5.tar.gz
spark-24ab384018270e4f7af7eb8ca7192f337498eaf5.tar.bz2
spark-24ab384018270e4f7af7eb8ca7192f337498eaf5.zip
[SPARK-3300][SQL] No need to call clear() and shorten build()
The function `ensureFreeSpace` in object `ColumnBuilder` clears old buffer before copying its content to new buffer. This PR fixes it. Author: Liang-Chi Hsieh <viirya@gmail.com> Closes #2195 from viirya/fix_buffer_clear and squashes the following commits: 792f009 [Liang-Chi Hsieh] no need to call clear(). use flip() instead of calling limit(), position() and rewind(). df2169f [Liang-Chi Hsieh] should clean old buffer after copying its content.
Diffstat (limited to 'ec2')
0 files changed, 0 insertions, 0 deletions