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

Method range_size

datafusion/datasource/src/file_groups.rs:592–594  ·  view source on GitHub ↗

How big will each file range be when this file is read in its new groups?

(&self)

Source from the content-addressed store, hash-verified

590impl ToRepartition {
591 /// How big will each file range be when this file is read in its new groups?
592 fn range_size(&self) -> u64 {
593 self.file_size / (self.new_groups.len() as u64)
594 }
595}
596
597struct CompareByRangeSize(ToRepartition);

Callers 2

cmpMethod · 0.80

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected