[
https://issues.apache.org/jira/browse/ARROW-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16336728#comment-16336728
]
ASF GitHub Bot commented on ARROW-1712:
---------------------------------------
kou commented on issue #1481: ARROW-1712: [C++] Add method to BinaryBuilder to
reserve space for value data
URL: https://github.com/apache/arrow/pull/1481#issuecomment-359993584
@wesm I think that it's a network problem:
https://travis-ci.org/apache/arrow/jobs/332472808#L552
> E: Failed to fetch
http://us-central1.gce.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages.gz
Hash Sum mismatch
We will be able to reduce the case by changing the `apt-get update` command
line with the following:
```bash
for i in {1..3}; do
sudo -E apt-get -yq update &>> ~/apt-get-update.log && break
done
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> [C++] Add method to BinaryBuilder to reserve space for value data
> -----------------------------------------------------------------
>
> Key: ARROW-1712
> URL: https://issues.apache.org/jira/browse/ARROW-1712
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Wes McKinney
> Assignee: Panchen Xue
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.9.0
>
>
> The {{Resize}} and {{Reserve}} methods only reserve space for the value
> offsets. When building binary/string arrays with a known size (or some
> reasonable estimate), it would be more efficient to reserve once at the
> beginning to prevent internal reallocations
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)