wjones127 commented on code in PR #37301:
URL: https://github.com/apache/arrow/pull/37301#discussion_r1301819031


##########
docs/source/cpp/json.rst:
##########
@@ -59,7 +59,7 @@ the output table.
       // Instantiate TableReader from input stream and options
       std::shared_ptr<arrow::json::TableReader> reader;
       st = arrow::json::TableReader::Make(pool, input, read_options,

Review Comment:
   This doesn't return a `Status` anymore, it returns a 
`Result<std::shared_ptr<arrow::json::TableReader>>`. The CSV docs reflect that 
by saving it to a variable with a `maybe_` prefix, so we could do the same here:
   ```suggestion
         auto maybe_reader = arrow::json::TableReader::Make(pool, input, 
read_options,
   ```



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