| 44 | using ::arrow::json::ArrayFromJSONString; |
| 45 | |
| 46 | Result<std::shared_ptr<RecordBatch>> MakeExtensionBatch() { |
| 47 | auto array = ExampleUuid(); |
| 48 | auto md = key_value_metadata({"key1", "key2"}, {"value1", ""}); |
| 49 | auto schema = ::arrow::schema({field("f0", array->type())}, md); |
| 50 | return RecordBatch::Make(schema, array->length(), {array}); |
| 51 | } |
| 52 | |
| 53 | Result<std::shared_ptr<RecordBatch>> MakeMapBatch() { |
| 54 | std::shared_ptr<Array> array; |
no test coverage detected