You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/07/19 18:10:36 UTC
[GitHub] [arrow] pitrou commented on a diff in pull request #13648: MINOR: [C++] Row wise conversion example fix
pitrou commented on code in PR #13648:
URL: https://github.com/apache/arrow/pull/13648#discussion_r924819106
##########
cpp/examples/arrow/row_wise_conversion_example.cc:
##########
@@ -172,17 +172,19 @@ arrow::Result<std::vector<data_row>> ColumnarTableToVector(
return rows;
}
+
arrow::Status RunRowConversion() {
- std::vector<data_row> rows = {
+ std::vector<data_row> original_rows = {
{1, 1, {10.0}}, {2, 3, {11.0, 12.0, 13.0}}, {3, 2, {15.0, 25.0}}};
std::shared_ptr<arrow::Table> table;
- std::vector<data_row> expected_rows;
+ std::vector<data_row> converted_rows
Review Comment:
```suggestion
std::vector<data_row> converted_rows,
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org