[ https://issues.apache.org/jira/browse/ARROW-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16336508#comment-16336508 ]
ASF GitHub Bot commented on ARROW-1712: --------------------------------------- wesm 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-359960791 @kou do you know what is causing this error? ``` Building dependency tree... Reading state information... ccache is already the newest version (3.1.9-1). Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libgirepository1.0-dev : Depends: libgirepository-1.0-1 (= 1.40.0-1) but 1.40.0-1ubuntu0.2 is to be installed Depends: gobject-introspection (= 1.40.0-1) but it is not going to be installed Depends: gir1.2-glib-2.0 (= 1.40.0-1) but 1.40.0-1ubuntu0.2 is to be installed Depends: gir1.2-freedesktop (= 1.40.0-1) but 1.40.0-1ubuntu0.2 is to be installed E: Unable to correct problems, you have held broken packages. ``` ---------------------------------------------------------------- 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: us...@infra.apache.org > [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)