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

Function MakeStream

cpp/src/arrow/json/test_common.h:218–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218inline static Status MakeStream(string_view src_str,
219 std::shared_ptr<io::InputStream>* out) {
220 auto src = std::make_shared<Buffer>(src_str);
221 *out = std::make_shared<io::BufferReader>(src);
222 return Status::OK();
223}
224
225// scalar values (numbers and strings) are parsed into a
226// dictionary<index:int32, value:string>. This can be decoded for ease of comparison

Callers 4

ReadToTableFunction · 0.70
SetUpReaderMethod · 0.70
TESTFunction · 0.70
BenchmarkJSONReadingFunction · 0.70

Calls 1

OKFunction · 0.70

Tested by

no test coverage detected