wjones127 commented on code in PR #37301:
URL: https://github.com/apache/arrow/pull/37301#discussion_r1301837544
##########
docs/source/cpp/json.rst:
##########
@@ -58,9 +58,9 @@ 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,
- parse_options, &reader);
- if (!st.ok()) {
+ auto maybe_reader = arrow::json::TableReader::Make(pool, input,
read_options,
+ parse_options);
Review Comment:
Just a quick format and then I think this is good.
```suggestion
auto maybe_reader =
arrow::json::TableReader::Make(pool, input, read_options,
parse_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]