[ 
https://issues.apache.org/jira/browse/ARROW-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16168926#comment-16168926
 ] 

Wes McKinney commented on ARROW-1545:
-------------------------------------

This example has bitrotted -- the builder constructor with memory pool then 
type is deprecated

https://github.com/apache/arrow/blob/master/cpp/src/arrow/builder.h#L184

There is also ARROW-1543; these examples need a once over to account for the 
up-to-date API

> Int64Builder should not need int64() as arg
> -------------------------------------------
>
>                 Key: ARROW-1545
>                 URL: https://issues.apache.org/jira/browse/ARROW-1545
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Documentation
>            Reporter: Rares Vernica
>            Priority: Trivial
>
> The first line in the [Getting Started|https://arrow.apache.org/docs/cpp/] 
> example uses a {{Int64Builder}} like this:
> {code:java}
> Int64Builder builder(arrow::default_memory_pool(), arrow::int64());
> {code}
> The example works, but the {{arrow::int64()}} argument is not required.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to