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

Function test_no_columns_batch

arrow-ipc/src/reader.rs:2975–2983  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2973
2974 #[test]
2975 fn test_no_columns_batch() {
2976 let schema = Arc::new(Schema::empty());
2977 let options = RecordBatchOptions::new()
2978 .with_match_field_names(true)
2979 .with_row_count(Some(10));
2980 let input_batch = RecordBatch::try_new_with_options(schema, vec![], &options).unwrap();
2981 let output_batch = roundtrip_ipc_stream(&input_batch);
2982 assert_eq!(input_batch, output_batch);
2983 }
2984
2985 #[test]
2986 fn test_unaligned() {

Callers

nothing calls this directly

Calls 3

roundtrip_ipc_streamFunction · 0.85
with_row_countMethod · 0.80

Tested by

no test coverage detected