Skip to content

DataFusion And Delta Internals

Delta Funnel uses DataFusion for SQL planning and execution, and Delta Kernel for Delta Lake metadata and protocol handling.

This page is the entry point for deeper implementation notes. The notes are kept in the repository docs/ directory because they are engineering records, not introductory user guides.

Delta scan planning

Delta scan planning turns active Delta files into DataFusion scan work. The provider decides how many scan partitions to request before Delta scan metadata is expanded.

Read scheduling

Provider reads are bounded so one scan cannot create unbounded file-read work. The native async backend applies Delta transforms and deletion-vector masks before rows reach DataFusion.

Dynamic partition pruning

Dynamic partition pruning is tracked separately because it crosses DataFusion physical optimization, Delta scan metadata, provider scheduling, metrics, and tests.

Dependency boundaries

The first release keeps dependency alignment explicit around Arrow, DataFusion, Delta Kernel, and SQL Server writes.