| 415 | } |
| 416 | |
| 417 | std::shared_ptr<Scalar> DictScalarFromJSON(const std::shared_ptr<DataType>& type, |
| 418 | std::string_view index_json, |
| 419 | std::string_view dictionary_json) { |
| 420 | EXPECT_OK_AND_ASSIGN(auto out, |
| 421 | json::DictScalarFromJSONString(type, index_json, dictionary_json)); |
| 422 | return out; |
| 423 | } |
| 424 | |
| 425 | std::shared_ptr<Table> TableFromJSON(const std::shared_ptr<Schema>& schema, |
| 426 | const std::vector<std::string>& json) { |
no outgoing calls
no test coverage detected