DataFile
DataFile represents a physical data file tracked by an Iceberg table. It carries the file path, format, partition data, record counts, file size, and column-level metrics used during planning.
What it contains
- File path and format
- Partition values for the file
- Record count and file size
- Column metrics such as null counts and bounds
Common usage
You most often work withDataFile when you append new files, inspect scan tasks, or rewrite existing files as part of maintenance operations.
Related
- AppendFiles - Append new data files to a table
- DeleteFiles - Remove tracked data files from a table
- Table Interface - Core table operations