Skip to content
Opensource internals
  • Posts

File scan

Splitting File Groups by Statistics: Giving Each Partition a Contiguous Slice of the Sort Key

Oct 21, 2026 6 min read Jay Hubbert

DataFusion’s statistics-based file group splitter assigns files to partitions by best-fit on their min/max ranges, preserving the table’s ordering while balancing the file counts.

DatafusionFile scanPartitioningPerformanceInternals

Read more →

Morsel-Driven IO: How DataFusion Reads Files in Pieces So One Slow File Cannot Stall the Scan

Oct 21, 2026 9 min read Jay Hubbert

DataFusion’s morsel-driven IO breaks files into independently-processable pieces and shares the work queue between scan tasks, so an unbalanced file distribution does not leave …

DatafusionParallelismFile scanPerformanceInternals

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·