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

Function create_file

datafusion/catalog-listing/src/table.rs:944–946  ·  view source on GitHub ↗

Helper to create a PartitionedFile with optional ordering

(name: &str, ordering: Option<LexOrdering>)

Source from the content-addressed store, hash-verified

942
943 /// Helper to create a PartitionedFile with optional ordering
944 fn create_file(name: &str, ordering: Option<LexOrdering>) -> PartitionedFile {
945 PartitionedFile::new(name.to_string(), 1024).with_ordering(ordering)
946 }
947
948 #[test]
949 fn test_derive_common_ordering_all_files_same_ordering() {

Callers

nothing calls this directly

Calls 3

newFunction · 0.85
with_orderingMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…