| 413 | } |
| 414 | |
| 415 | std::shared_ptr<Scalar> ScalarFromJSON(const std::shared_ptr<DataType>& type, |
| 416 | std::string_view json) { |
| 417 | EXPECT_OK_AND_ASSIGN(auto out, json::ScalarFromJSONString(type, json)); |
| 418 | return out; |
| 419 | } |
| 420 | |
| 421 | std::shared_ptr<Scalar> DictScalarFromJSON(const std::shared_ptr<DataType>& type, |
| 422 | std::string_view index_json, |
no outgoing calls
no test coverage detected