diff options
author | Kun Xu <viper_kun@163.com> | 2015-08-16 14:44:23 +0800 |
---|---|---|
committer | Cheng Lian <lian@databricks.com> | 2015-08-16 14:44:45 +0800 |
commit | 182f9b7a6d3a3ee7ec7de6abc24e296aa794e4e8 (patch) | |
tree | b74f4c822e198c33fedfe27fcb7ecfd23c181dd8 /R/pkg/inst/tests/test_sparkSQL.R | |
parent | 1db7179fae672fcec7b8de12c374dd384ce51c67 (diff) | |
download | spark-182f9b7a6d3a3ee7ec7de6abc24e296aa794e4e8.tar.gz spark-182f9b7a6d3a3ee7ec7de6abc24e296aa794e4e8.tar.bz2 spark-182f9b7a6d3a3ee7ec7de6abc24e296aa794e4e8.zip |
[SPARK-9973] [SQL] Correct in-memory columnar buffer size
The `initialSize` argument of `ColumnBuilder.initialize()` should be the
number of rows rather than bytes. However `InMemoryColumnarTableScan`
passes in a byte size, which makes Spark SQL allocate more memory than
necessary when building in-memory columnar buffers.
Author: Kun Xu <viper_kun@163.com>
Closes #8189 from viper-kun/errorSize.
Diffstat (limited to 'R/pkg/inst/tests/test_sparkSQL.R')
0 files changed, 0 insertions, 0 deletions