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

Function file_with_stats

datafusion/datasource/src/statistics.rs:623–625  ·  view source on GitHub ↗
(path: &str, stats: Statistics)

Source from the content-addressed store, hash-verified

621 }
622
623 fn file_with_stats(path: &str, stats: Statistics) -> PartitionedFile {
624 PartitionedFile::new(path, 1).with_statistics(Arc::new(stats))
625 }
626 #[tokio::test]
627 #[expect(deprecated)]
628 async fn test_get_statistics_with_limit_casts_first_file_sum_to_sum_type()

Callers

nothing calls this directly

Calls 2

newFunction · 0.85
with_statisticsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…