MCPcopy Create free account
hub / github.com/apache/arrow / ReadToTable

Function ReadToTable

cpp/src/arrow/json/reader_test.cc:44–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42using internal::checked_cast;
43
44static Result<std::shared_ptr<Table>> ReadToTable(std::string json,
45 const ReadOptions& read_options,
46 const ParseOptions& parse_options) {
47 std::shared_ptr<io::InputStream> input;
48 RETURN_NOT_OK(MakeStream(json, &input));
49 ARROW_ASSIGN_OR_RAISE(auto reader, TableReader::Make(default_memory_pool(), input,
50 read_options, parse_options));
51 return reader->Read();
52}
53
54class ReaderTest : public ::testing::TestWithParam<bool> {
55 public:

Callers 1

TESTFunction · 0.85

Calls 2

MakeStreamFunction · 0.70
ReadMethod · 0.45

Tested by

no test coverage detected