()
| 69 | |
| 70 | #[tokio::test] |
| 71 | async fn test_schema_metadata() { |
| 72 | let batch = make_primitive_batch(5); |
| 73 | let metadata = HashMap::from([("some_key".to_owned(), "some_value".to_owned())]); |
| 74 | |
| 75 | // create a batch that has schema level metadata |
| 76 | let schema = Arc::new(batch.schema().as_ref().clone().with_metadata(metadata)); |
| 77 | let batch = RecordBatch::try_new(schema, batch.columns().to_vec()).unwrap(); |
| 78 | |
| 79 | roundtrip(vec![batch]).await; |
| 80 | } |
| 81 | |
| 82 | #[tokio::test] |
| 83 | async fn test_primitive_many() { |
nothing calls this directly
no test coverage detected