MCPcopy Create free account
hub / github.com/apache/datafusion / new_exec_with_batches_empty

Function new_exec_with_batches_empty

datafusion/datasource/src/memory.rs:935–939  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

933
934 #[test]
935 fn new_exec_with_batches_empty() {
936 let batch = make_partition(7);
937 let schema = batch.schema();
938 let _ = MemorySourceConfig::try_new_from_batches(schema, Vec::new()).unwrap_err();
939 }
940
941 #[test]
942 fn new_exec_with_batches_invalid_schema() {

Callers

nothing calls this directly

Calls 4

newFunction · 0.85
unwrap_errMethod · 0.80
make_partitionFunction · 0.70
schemaMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…