[
https://issues.apache.org/jira/browse/ARROW-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16306367#comment-16306367
]
ASF GitHub Bot commented on ARROW-1945:
---------------------------------------
xhochy closed pull request #1442: ARROW-1945: [C++] Fix doxygen documentation
of array.h
URL: https://github.com/apache/arrow/pull/1442
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/cpp/src/arrow/array.h b/cpp/src/arrow/array.h
index 6721c7d27..0ae1ddd8e 100644
--- a/cpp/src/arrow/array.h
+++ b/cpp/src/arrow/array.h
@@ -65,9 +65,9 @@ struct Decimal;
/// could cast from int64 to float64 like so:
///
/// Int64Array arr = GetMyData();
-/// auto new_data = arr->data()->ShallowCopy();
+/// auto new_data = arr.data()->ShallowCopy();
/// new_data->type = arrow::float64();
-/// Float64Array double_arr(new_data);
+/// DoubleArray double_arr(new_data);
///
/// This object is also useful in an analytics setting where memory may be
/// reused. For example, if we had a group of operations all returning doubles,
----------------------------------------------------------------
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++] Fix doxygen documentation of array.h
> ------------------------------------------
>
> Key: ARROW-1945
> URL: https://issues.apache.org/jira/browse/ARROW-1945
> Project: Apache Arrow
> Issue Type: Bug
> Reporter: Viktor Gal
> Priority: Trivial
> Labels: pull-request-available
> Fix For: 0.9.0
>
>
> this is just a small fix in doxygen documentation of the c++ api
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)