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/06/12 02:00:54 UTC

[GitHub] [arrow] vibhatha commented on a diff in pull request #13370: MINOR: [C++] [Docs] Fix comment typo in row_wise_conversion_example example

vibhatha commented on code in PR #13370:
URL: https://github.com/apache/arrow/pull/13370#discussion_r895087790


##########
cpp/examples/arrow/row_wise_conversion_example.cc:
##########
@@ -97,7 +97,7 @@ arrow::Result<std::shared_ptr<arrow::Table>> VectorToColumnarTable(
   ARROW_RETURN_NOT_OK(id_builder.Finish(&id_array));
   std::shared_ptr<arrow::Array> components_array;
   ARROW_RETURN_NOT_OK(components_builder.Finish(&components_array));
-  // No need to invoke component_cost_builder.Finish because it is implied by
+  // No need to invoke component_item_cost_builder.Finish because it is implied by
   // the parent builder's Finish invocation.
   std::shared_ptr<arrow::Array> component_cost_array;
   ARROW_RETURN_NOT_OK(component_cost_builder.Finish(&component_cost_array));

Review Comment:
   Just curious, does the variable also need to be renamed?



-- 
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