MCPcopy Create free account
hub / github.com/apache/arrow-rs / test_empty_batch

Function test_empty_batch

arrow-flight/tests/encode_decode.rs:44–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42
43#[tokio::test]
44async fn test_empty_batch() {
45 let batch = make_primitive_batch(5);
46 let empty = RecordBatch::new_empty(batch.schema());
47 roundtrip(vec![empty]).await;
48}
49
50#[tokio::test]
51async fn test_error() {

Callers

nothing calls this directly

Calls 3

make_primitive_batchFunction · 0.85
roundtripFunction · 0.70
schemaMethod · 0.45

Tested by

no test coverage detected