[
https://issues.apache.org/jira/browse/ARROW-3475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17660498#comment-17660498
]
Rok Mihevc commented on ARROW-3475:
-----------------------------------
This issue has been migrated to [issue
#19794|https://github.com/apache/arrow/issues/19794] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [C++] Int64Builder.Finish(NumericArray<Int64Type>)
> --------------------------------------------------
>
> Key: ARROW-3475
> URL: https://issues.apache.org/jira/browse/ARROW-3475
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Wolf Vollprecht
> Assignee: Ben Kietzman
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.14.0
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> I was intuitively thinking that the following code would work:
> {{Status s;}}
> {{Int64Builder builder;}}
> {{s = builder.Append(1);}}
> {{s = builder.Append(2);}}
> {{std::shared_ptr<NumericArray<Int64Type>> array;}}
> {{builder.Finish(&array);}}
> However, it does not seem to work, as the finish operation is not overloaded
> in the Int64 (or the numeric builder).
> Would it make sense to add this interface?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)