| 65 | } |
| 66 | |
| 67 | std::shared_ptr<ChunkedArray> ChunkedFromJSON(const std::shared_ptr<Field>& field, |
| 68 | const std::vector<std::string>& data) { |
| 69 | ArrayVector chunks(data.size()); |
| 70 | for (size_t i = 0; i < chunks.size(); ++i) { |
| 71 | chunks[i] = ArrayFromJSON(field->type(), data[i]); |
| 72 | } |
| 73 | return std::make_shared<ChunkedArray>(std::move(chunks)); |
| 74 | } |
| 75 | |
| 76 | ParseOptions parse_options_ = ParseOptions::Defaults(); |
| 77 | ReadOptions read_options_ = ReadOptions::Defaults(); |
nothing calls this directly
no test coverage detected