[
https://issues.apache.org/jira/browse/ARROW-8076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alessandro Molina updated ARROW-8076:
-------------------------------------
Fix Version/s: 8.0.0
(was: 7.0.0)
> [C++] arrow::stl::TupleRangeFromTable docs incorrect
> ----------------------------------------------------
>
> Key: ARROW-8076
> URL: https://issues.apache.org/jira/browse/ARROW-8076
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, Documentation
> Reporter: Tomasz Cheda
> Priority: Minor
> Labels: C++, Docs, Documentation
> Fix For: 8.0.0
>
>
> The docs at
> [https://github.com/apache/arrow/blob/master/docs/source/cpp/examples/tuple_range_conversion.rst]
> use TupleRangeFromTable as
> arrow::stl::TupleRangeFromTable(*table, &rows)
> while the real signature is
> {color:#b5b6e3}Status
> {color}{color:#ffc66d}TupleRangeFromTable{color}({color:#cc7832}const
> {color}{color:#b5b6e3}Table{color}& table{color:#cc7832}, const
> {color}{color:#b5b6e3}compute{color}::{color:#b5b6e3}CastOptions{color}&
> cast_options{color:#cc7832},
> {color} {color:#b5b6e3}compute{color}::{color:#b5b6e3}FunctionContext{color}*
> ctx{color:#cc7832}, {color}{color:#b9bcd1}Range{color}* rows)
> No explanation is offered as to what the extra arguments are. No such
> comments can be found in the relevant source code, either. Github history
> shows that this has been the case since this function was added by @xhochy ,
> who also authored the docs.
> This issue needs to be addressed by somebody with enough familiarity with the
> related code to rewrite the doc.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)