bkmgit commented on a change in pull request #11197:
URL: https://github.com/apache/arrow/pull/11197#discussion_r716572482



##########
File path: cpp/examples/arrow/row_wise_conversion_example.cc
##########
@@ -47,10 +51,10 @@ struct data_row {
 // construction of the final `arrow::Array` instances.
 //
 // For each type, Arrow has a specially typed builder class. For the primitive
-// values `id` and `cost` we can use the respective `arrow::Int64Builder` and
-// `arrow::DoubleBuilder`. For the `cost_components` vector, we need to have 
two
-// builders, a top-level `arrow::ListBuilder` that builds the array of offsets 
and
-// a nested `arrow::DoubleBuilder` that constructs the underlying values array 
that
+// values `id` and `components` we can use the `arrow::Int64Builder`. For the 
+// `component_cost` vector, we need to have two builders, a top-level 
+// `arrow::ListBuilder` that builds the array of offsets and a nested 
+// `arrow::DoubleBuilder` that constructs the underlying values array that
 // is referenced by the offsets in the former array.
 arrow::Status VectorToColumnarTable(const std::vector<struct data_row>& rows,
                                     std::shared_ptr<arrow::Table>* table) {

Review comment:
       @pitrou Done




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to