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

Function pfile_with_pv

datafusion/datasource/src/file_groups.rs:1227–1231  ·  view source on GitHub ↗

Creates a file with partition value with a static size of 10.

(path: &str, pv: &str)

Source from the content-addressed store, hash-verified

1225
1226 /// Creates a file with partition value with a static size of 10.
1227 fn pfile_with_pv(path: &str, pv: &str) -> PartitionedFile {
1228 let mut file = pfile(path, 10);
1229 file.partition_values = vec![ScalarValue::from(pv)];
1230 file
1231 }
1232
1233 /// repartition the file groups both with and without preserving order
1234 /// asserting they return the same value and returns that value

Callers

nothing calls this directly

Calls 1

pfileFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…