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

Function MakeStream

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

Source from the content-addressed store, hash-verified

214}
215
216inline static Status MakeStream(string_view src_str,
217 std::shared_ptr<io::InputStream>* out) {
218 auto src = std::make_shared<Buffer>(src_str);
219 *out = std::make_shared<io::BufferReader>(src);
220 return Status::OK();
221}
222
223// scalar values (numbers and strings) are parsed into a
224// 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