Data access and persistence
Daft connects lazy DataFrame work to data in files, object stores, table formats, and external data services. It turns a path or table identity into planned reads, then turns DataFrame output into files, table changes, or records in a remote sink. The child pages Data sources, scans, and sinks and Catalog and table integrations describe source, sink, and catalog mechanics.
Data access model
Daft keeps data access separate from DataFrame transformation. A read creates a lazy DataFrame, so discovery, metadata lookup, and row reads happen during execution. A write runs the DataFrame and returns information about the stored data.
Read paths
The public read paths cover row data and file references. A tabular read produces rows from files or a table. A file-reference read lists matching objects so later work can decode each file. A catalog read resolves a table name before it creates the DataFrame.
| Access need | Result | Main entry points |
|---|---|---|
| Read rows from files | Lazy DataFrame with parsed columns | read_avro, read_parquet, read_orc, read_csv, read_json, and related readers |
| Read rows from a table format | Lazy DataFrame based on table metadata and files | read_iceberg, read_deltalake, read_lance, read_paimon, read_hudi |
| Read raw MCAP messages | Lazy DataFrame with message metadata and payloads | read_mcap |
| List data objects | DataFrame with path and object metadata | from_glob_path |
| Keep objects for later decoding | DataFrame with lazy file values | from_files |
| Read a named table | Lazy DataFrame resolved through a catalog | read_table |
Lance reads expose one public read_lance path. It can read a local or object-store table by URI or resolve a table through a Lance Namespace. The read can select a version or an as-of time, which lets the DataFrame represent a chosen table state rather than only the latest state. daft/…/__init__.py• L1-5 daft/…/_lance.py• L19-140
MCAP reads expose raw messages from one file, a directory, or a path pattern. They can restrict messages by log-time range and topic. A per-file topic start-time resolver can create narrower scan work for topics that need earlier messages, such as video keyframes. The normal output keeps timestamps and sequence values as unsigned integers and payloads as binary; the deprecated raw_legacy form casts these columns to older types. daft/…/_mcap.py• L27-73 daft/…/_mcap.py• L193-273
References: daft/…/__init__.py• L21-40 daft/…/_avro.py• L23-85 daft/…/_files.py• L12-34 daft/…/_mcap.py• L76-190 daft/…/_mcap.py• L193-273 daft/…/__init__.py• L657-662 daft/…/__init__.py• L1-5 daft/…/_lance.py• L19-140
Scan tasks
A DataSource describes a logical source and yields DataSourceTask units during execution. Each task reads an independent part of the source and emits record batches. This lets the execution engine process files, file groups, row ranges, or table splits in parallel. Tasks can use native file readers, while custom sources keep discovery and task selection in the source boundary.
The scan path carries the requested schema, filters, selected columns, limits, and partition information toward the source. A source uses these requests to reduce the data it reads when it can. Native file tasks and Python-backed sources use the same source boundary, so later transformations do not depend on where the rows came from. Native task factories support common file reads such as Parquet and MCAP while preserving the same task contract.
Sources can also describe two kinds of layout. Partition fields describe values stored with rows because of the source's on-disk layout. Clustering keys describe how tasks are already distributed at run time, which can let the optimizer avoid a later shuffle. A source may report that it can answer a count from metadata; it must still apply partition-only filters when it does so.
This diagram shows how a user-level read becomes parallel source work and returns to the DataFrame flow.
flowchart LR
A[Path or table identity] --> B[Read API]
B --> C[Lazy DataFrame and scan plan]
C --> D[Source metadata and pushdowns]
D --> E[Independent scan tasks]
E --> F[Record batches]
F --> G[DataFrame transformations]
References: daft/…/source.py• L25-131 daft/…/source.py• L136-231 src/…/source.rs• L17-144 src/…/lib.rs• L142-193 src/…/python.rs• L64-120 daft/…/scan.py• L31-85 daft/…/_mcap.py• L133-155
Storage backends
Storage access uses a URI scheme to select a backend. IOConfig supplies credentials, endpoints, and access behavior. This model covers local files, cloud object stores, HTTP, Hugging Face, and OpenDAL-backed services.
URI resolution
Daft normalizes equivalent schemes before it opens a filesystem. It checks that a group of paths maps to one storage backend, then reuses a configured filesystem for that backend. This keeps a multi-file scan within one access context and applies the same access settings to reads and writes.
References: daft/filesystem.py• L25-57 daft/filesystem.py• L144-197
Object operations
The native I/O layer supplies the common operations used by scans and file features: list objects, read bytes or byte ranges, get object size, and write bytes. Backend-specific clients stay behind one object source contract. This lets file scans and table readers share the same storage behavior.
Remote reads can stream data and report access failures through common error types. OpenDAL-backed services also support range reads, listing, direct writes, deletes, and multipart writes. Their read path has deadlines, while writes remain unbounded so a slow but valid upload is not cut off by a whole-write timeout. src/…/opendal_source.rs• L18-24 src/…/opendal_source.rs• L65-103
OpenDAL services are selected by compiled support and backend configuration. A malformed or out-of-range read deadline fails client creation instead of silently changing the requested behavior. src/…/opendal_source.rs• L26-63 src/…/opendal_source.rs• L119-150
References: src/…/lib.rs• L224-358 src/…/lib.rs• L367-455 src/…/object_io.rs• L79-142 src/…/opendal_source.rs• L18-103 src/…/opendal_source.rs• L214-435 src/…/Cargo.toml• L27-39
Azure Blob paths
Azure Blob access maps Azure and Microsoft Fabric URI forms to the common object source contract. A path can carry the account in its host or use the configured account, then the source supplies listing, metadata, whole-object reads, and byte-range reads to scans. It uses a bounded connection pool so concurrent I/O stays within the configured limit.
Authentication can use anonymous access, an access key, a shared access signature, a bearer token, service-principal credentials, or the default Azure credential chain. A custom endpoint and the Fabric endpoint are also supported. Azure writes are not available through this object source, so persistence must use another supported writer or sink.
Directory listing preserves file-versus-directory behavior instead of treating every prefix as a valid directory. It reports missing paths as not found and exposes Azure pagination through the common listing result, but continuation tokens are not supported by this client path.
References: src/…/azure_blob.rs• L95-137 src/…/azure_blob.rs• L174-285 src/…/azure_blob.rs• L287-507 src/…/azure_blob.rs• L572-745
Hugging Face paths
Hugging Face access treats model, dataset, space, and bucket repositories as object paths behind the common storage contract. An hf:// path can name a repository revision and object pattern. Direct resolve URLs and bucket browser paths are normalized into the same object view.
Reads can use the Xet transfer service when enabled. Daft resolves Xet file metadata and range information, then falls back to HTTP when the object is not Xet-backed or the Xet probe fails. Listing uses the repository tree API with continuation links. A root dataset Parquet scan can use Hugging Face's Parquet API to discover converted files, including datasets whose stored objects are not themselves Parquet files.
This diagram shows the choice between the optimized Xet path and the HTTP path for a Hugging Face object read.
flowchart LR
A[Hugging Face URI] --> B[Path normalization]
B --> C{Xet read enabled?}
C -->|Yes| D[Xet metadata and range read]
D -->|Unavailable or not Xet-backed| E[HTTP read]
C -->|No| E
E --> F[Byte stream]
D --> F
Hugging Face reads preserve the difference between an unauthorized repository and a bucket path that does not name a bucket. HTTP object writes are not supported by this source, so a writable sink or another backend is required for persistence.
References: src/…/path.rs• L7-18 src/…/path.rs• L123-183 src/…/mod.rs• L61-159 src/…/mod.rs• L184-356 src/…/mod.rs• L407-465 src/…/mod.rs• L468-697 src/…/xet.rs• L33-190 src/…/Cargo.toml• L23-24
File scans
File scans turn one or more paths into a tabular source. They support local paths and remote URLs, wildcard discovery, schema inference or a supplied schema, file-path columns, and Hive-style partition values. The file format turns bytes into columns, while the storage layer determines how those bytes are reached.
File discovery
Glob reads expand a path pattern into file metadata before the scan reads rows. Patterns can match one directory level or recurse through directories. Discovery can list several patterns in parallel or use a supplied manifest without listing the storage backend. The discovery path works against remote stores and filters storage marker files that are not user data.
Schema inference reads a candidate file before it creates scan tasks. When configured to ignore corrupt files, Parquet and CSV inference can move to another matching file after a format error. Network and permission errors still stop the scan. A pattern with no usable match is reported as missing input rather than as a valid empty dataset.
References: src/…/glob.rs• L81-149 src/…/glob.rs• L153-285 src/…/glob.rs• L310-391 src/…/file_format_config.rs• L17-27 src/…/file_format_config.rs• L79-101 src/…/file_format_config.rs• L190-212 daft/…/file_path.py• L13-37 daft/…/_files.py• L12-34
ORC scans
ORC reads turn a file, directory, glob, or path list into a lazy DataFrame. Directory paths are searched recursively for ORC files, and remote paths use the configured storage access. The first matched file supplies the schema for the scan. Later files align to it by filling missing fields with nulls and ignoring extra fields.
Each ORC file is one scan task. Daft applies filters and limits after the file data enters its normal execution path, so ORC reads do not use ORC-native predicate pruning and a limit does not ensure that file reads stop early.
References: daft/…/_orc.py• L42-70 daft/…/_orc.py• L123-168 daft/…/_orc.py• L171-224 daft/…/__init__.py• L21-33
Table format readers
Table format readers use table metadata to choose the files and versions that belong to a read. They can expose a current or selected version and pass table partition values and statistics into the scan. This differs from a raw directory scan because the table format defines which files are valid data and how changes are represented.
Iceberg planning can prune files by row filters, partition values, and per-file bounds before it creates native Parquet tasks. Iceberg reads can also use the table's name mapping to match files that do not carry field IDs to the table schema. The task carries partition values, file size, row count, and usable statistics into the scan. If Iceberg has no delete files and the query asks for a supported unfiltered count, the source can return a metadata-only count task; delete files or an unsafe predicate cause a regular scan instead. daft/…/iceberg_scan.py• L187-221 daft/…/iceberg_scan.py• L296-423
Delta Lake reads select a table version, map table metadata to scan tasks, and use partition values and file statistics to reduce work. A filter is converted into a conservative statistics check: a file is dropped only when its recorded bounds prove that it cannot match. Unsupported expressions or missing statistics keep the file, so pruning can be lost without changing query results. Column-mapped tables preserve logical names while reading physical Parquet fields and statistics. Metadata-only counts are used only when deletion vectors and incomplete file counts cannot affect the result. daft/…/delta_lake_scan.py• L148-244 daft/…/delta_lake_scan.py• L263-347 daft/…/_visitors.py• L71-75 daft/…/_visitors.py• L175-220
The supported table readers do not all use the same read model. Iceberg and Delta Lake expose snapshot-aware reads. Lance exposes dataset versions and time-based views. Paimon uses a pypaimon table object to select data files and can use Daft's native Parquet reader for append-only tables or simple primary-key splits. Primary-key splits that need LSM-tree merging use Paimon's native reader instead. Paimon storage settings can come from the table catalog or an explicit IOConfig, while Hudi uses its own table metadata path. The catalog and table integrations page describes the external systems that provide these table objects.
References: daft/…/_iceberg.py• L129-162 daft/…/iceberg_scan.py• L187-221 daft/…/iceberg_scan.py• L296-423 daft/…/_deltalake.py• L21-47 daft/…/delta_lake_scan.py• L148-244 daft/…/delta_lake_scan.py• L263-479 daft/…/_visitors.py• L71-245 daft/…/_lance.py• L19-140 daft/…/_paimon.py• L16-98 daft/…/_paimon.py• L101-169 daft/…/_expressions.py• L37-123
Data persistence
DataFrame writes share one broad shape even when the destination differs. Daft executes the input DataFrame, divides its output into micropartitions, sends those units to writers, and gathers write metadata into a result DataFrame. File writers return paths and partition metadata. Custom sinks return destination-specific results after finalization.
File writes
File writes persist rows as Parquet, CSV, or JSON files under a root path. The write mode controls whether new data is appended, an output is replaced, or only the written partitions are replaced. Partition columns define the directory layout. Later file discovery can read that layout as one dataset and restore the partition values.
Each output file is a separate write unit. The writer resolves the destination filesystem, creates partition directories when needed, and returns metadata after the file closes. Downstream code can use that metadata to find the produced files without scanning the destination again. Iceberg file writes use the table's Parquet codec and compression level, while ordinary Parquet writes use their own write settings. Ordinary Parquet writes do not need Iceberg-only validation code unless an Iceberg operation uses it.
References: daft/…/dataframe.py• L1017-1041 daft/…/writer.py• L39-191 src/…/partition.rs• L14-57
Table commits
Table writes add a metadata commit after file creation. Daft writes data files, creates format-specific records for those files, and asks the table system to include them in an append or overwrite operation. Iceberg and Delta Lake also support an idempotent commit mode that uses a stable key to recognize a retry after a commit may already have landed.
Iceberg overwrite writes can use a row filter that identifies the table data to replace. Daft validates that each new data file is covered by that filter through partition values or file statistics before it commits. An invalid or unknown filter is rejected instead of becoming a full-table overwrite.
Table commits have a different cleanup concern from ordinary file writes. A failed run can leave data files that are not referenced by a committed table snapshot. A retry must reuse the same idempotence key for the same input. Reusing a key for different input can skip new data, while changing the key for the same retry can create a duplicate commit.
References: daft/…/dataframe.py• L1330-1384 daft/…/dataframe.py• L1767-1836 src/…/catalog.rs• L9-88 daft/…/_expressions.py• L125-150 daft/…/iceberg_write.py• L303-385 daft/…/writer.py• L326-395
External sinks
An external sink is the general write path for a destination that is not a built-in file or table writer. The sink receives executed micropartitions, returns one result for each successful write, and combines those results into a final DataFrame. This keeps service-specific row mapping and commit rules at the destination boundary.
The sink lifecycle starts once before distributed work, writes micropartitions in parallel, then finalizes all write results into one output. The declared result schema must match the schema returned by finalization. Write errors are wrapped with the sink name so a failure remains visible across worker boundaries. daft/…/sink.py• L31-112
This diagram shows the common lifecycle for a custom destination.
flowchart LR
A[DataFrame] --> B[Start sink]
B --> C[Execute and split into micropartitions]
C --> D[Parallel sink writes]
D --> E[Gather write results]
E --> F[Finalize]
F --> G[Result DataFrame]
References: daft/…/sink.py• L16-112 daft/…/dataframe.py• L2266-2295
Catalog organization
A catalog is a service or adapter that discovers data objects and maps names to tables. A namespace groups related objects. An Identifier is the ordered name made from catalog, namespace, and table parts. A table supplies a schema and read or write contract. The catalog supplies discovery and name resolution.
Name resolution
Sessions attach catalogs under aliases and track the current catalog and namespace. An unqualified table name uses that session context. A fully qualified identifier selects its catalog and namespace directly. Temporary tables can also be attached without a catalog and take precedence for unqualified names.
References: daft/…/__init__.py• L22-37 daft/…/__init__.py• L685-749 daft/session.py• L703-740
Catalogs expose the same high-level actions across services: create, get, test, list, and drop namespaces and tables. read_table resolves a table and delegates the read to it. write_table resolves the table and delegates append or overwrite behavior.
References: daft/…/__init__.py• L475-675 daft/session.py• L783-801
Catalog adapters
Daft adapts external catalog clients to a common contract instead of making the DataFrame API depend on one catalog product. Adapters cover Iceberg, Unity Catalog, Gravitino, S3 Tables, AWS Glue, Paimon, and PostgreSQL. An adapter can resolve table metadata, storage locations, schemas, partition rules, and format-specific actions.
Catalog organization and table storage remain separate. A catalog name tells Daft which metadata service to ask. The table object tells Daft which table format and storage location hold the rows. This separation lets one catalog contract point to local or remote table data while the table reader applies snapshot and partition rules. The catalog and table integrations page covers these integrations in more detail.
References: daft/…/__init__.py• L225-439 daft/…/__iceberg.py• L64-140 daft/…/__init__.py• L869-879 daft/…/__init__.py• L1033-1045 src/…/catalog.rs• L7-38 src/…/table.rs• L40-63
Change checklist
When these files or sections are changed, remember to consider these:
- When adding a URI scheme or storage backend, keep URI normalization, native object access, table-library storage options, and backend deadline behavior aligned.
- When changing Azure URI parsing or credentials, keep account selection, storage endpoints, Fabric paths, object listing, range reads, and shared error mapping aligned.
- When changing OpenDAL settings, keep the compiled service list, backend configuration, read deadlines, write behavior, and multipart writes aligned.
- When changing Hugging Face path parsing, keep canonical
hf://paths, resolve URLs, bucket browser paths, listing API paths, Parquet discovery, Xet access, and error hints aligned. - When changing source layout declarations, keep partition fields for stored values separate from clustering keys for execution layout. Check count pushdowns against all remaining partition filters.
- When changing partition fields or transforms, check both file path layout on write and partition-value injection and pruning on read. For Iceberg, also keep catalog table creation and table partition metadata aligned.
- When adding a table format, connect its metadata selection to scan-task statistics and its data-file output to the table commit path.
- When changing Paimon reads, keep catalog-option-to-
IOConfigprecedence, supported warehouse access, and the native-versus-Paimon reader choice aligned. - When changing Iceberg scan planning, keep row-filter pruning, partition evolution, delete-file handling, per-file statistics, metadata-only count results, and table name mappings consistent.
- When changing Iceberg schema mapping, keep the table name mapping with the field-ID mapping and ensure it reaches every Parquet scan task.
- When changing Delta Lake scan planning or column mapping, keep logical-to-physical field names aligned across Parquet reads, file statistics, filter pruning, partition values, and metadata-only counts. Preserve conservative behavior when a predicate or statistic cannot be trusted.
- When changing file format settings, keep schema inference, scan-task creation, parser behavior, and corrupt-file reporting consistent across the format boundary.
- When changing Avro reader behavior, keep the public export, schema inference requirements, path and partition columns, checkpoint attachment, and remote storage handling aligned.
- When changing ORC reader behavior, keep the public export, path resolution, first-file schema choice, cross-file field alignment, and scan-task limits aligned.
- When changing MCAP reader behavior, keep directory and glob expansion, file discovery, time and topic limits, resolver task fan-out, native task settings, and the raw versus legacy output schema aligned.
- When changing catalog name resolution, preserve the contract between session context,
Identifierqualification, temporary-table precedence, and SQL table lookup. - When changing idempotent table writes, keep the destination marker, checkpoint state, and retry-key meaning consistent for both new commits and post-commit recovery.
- When changing
DataSinkresults, update the declared schema and final result schema together because the caller validates their match. - When changing shared Parquet writer settings, keep ordinary file options separate from Iceberg table properties and pass the selected codec and level through to the physical files.
- When changing optional Iceberg imports, keep ordinary Parquet writes usable without the Iceberg package while loading Iceberg validation dependencies when an Iceberg overwrite check needs them.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| A scan receives paths that resolve to different canonical storage backends | Path resolution stops before the scan starts | Group paths by one compatible URI scheme and backend |
| A file read disables schema inference without a supplied schema | The reader has no definitive column types and the read fails | Supply a schema or keep inference enabled |
| An Avro read receives an empty list of paths | The read raises a ValueError before planning | Provide at least one Avro file path |
| An Avro read disables schema inference without a supplied schema | The read raises a ValueError because it has no definitive schema | Supply the Avro schema or keep inference enabled |
| An ORC read receives an empty path list or an empty path | The read raises a ValueError before planning | Provide at least one non-empty ORC path |
| An ORC path resolves to no files | The read raises FileNotFoundError instead of producing an empty DataFrame | Check the path, glob, or remote object prefix |
| ORC files do not match the first file's schema | Missing fields become null and extra fields are excluded | Treat the first matched file as the schema contract for the input set |
| An ORC query expects native filter pruning or immediate stop at a limit | Daft may read more ORC data than the returned rows require | Plan for filters and limits to act in the normal DataFrame execution path |
| A glob matches no objects | The scan reports missing input instead of producing rows | Check discovered paths when empty input is not valid |
| All files matched by inferred Parquet or CSV input are corrupt | Schema inference fails | Keep one readable matching file or supply a valid schema when supported |
| A Parquet or CSV file has a network or permission error while corrupt-file skipping is enabled | The scan still fails because access errors are not format errors | Fix access and credential errors |
| A MCAP batch size is zero or negative | The read fails before scan tasks are created | Use a positive batch size |
| An MCAP path resolves to no files | The read raises FileNotFoundError | Check the file, directory, or glob |
| An MCAP resolver returns a negative timestamp | Native timestamp conversion raises an overflow error | Return values in the MCAP unsigned timestamp range |
| An MCAP resolver produces a topic start at or after the exclusive end time | That topic produces no scan task | Use a time range that contains the topic data |
| A Delta table uses an unsupported column-mapping mode | The source cannot be created | Use none, id, or name column mapping |
| A Delta filter cannot be safely converted to a statistics check | The scan keeps candidate files and reads more data | Treat unsupported expressions and missing stats as a loss of pruning, not as a reason to drop files |
| Delta statistics use physical names that are not mapped back to logical names | File pruning or Parquet field reads can use the wrong columns | Keep column-mapping metadata available for both field and stats mapping |
| A Delta table enables deletion vectors that the active Delta library does not propagate | The source rejects the read unless deletion vectors are explicitly ignored | Use a supported library path, remove deletion records, or set ignore_deletion_vectors=True only when data loss is acceptable |
| An Azure path has no account in its URI or configuration | The Azure client cannot be created | Set the account in the URI, AzureConfig, or AZURE_STORAGE_ACCOUNT |
| An Azure URI names a missing object or directory | The common object source reports not found | Check the container and key and distinguish file paths from directory prefixes |
| An Azure or Fabric path needs object writes | The operation fails because the Azure object source does not support PUT | Use a supported writer or external sink |
| An Azure listing supplies a continuation token | The operation fails because this client path cannot consume the token | Use a listing call without a continuation token or another supported backend |
| A Hugging Face Xet read cannot get valid authorization | The read returns an authorization error | Provide a token for the selected repository and repository type |
| A direct HTTP object write targets Hugging Face | The operation fails because this source does not support HTTP PUT | Use a supported Hugging Face sink or another writable backend |
| An OpenDAL deadline is malformed or outside its accepted range | Client creation fails | Use a positive deadline within the supported limit and use timeout_ms or io_timeout_ms |
| An OpenDAL backend is not compiled into the build | The operator cannot be created | Use a compiled service or build with the required feature |
| An Iceberg data file has no field IDs and the table has no usable name mapping | The Parquet reader cannot align stored fields with the table schema | Preserve the table name mapping or use files that carry field IDs |
| An Iceberg partition field uses an unsupported transform | Table creation fails | Use a supported transform or omit the partition field |
| An Iceberg count query has delete files or cannot prove partition coverage | Daft falls back to a regular scan | Let the source read data when metadata cannot answer the count safely |
| An Iceberg overwrite filter is invalid or cannot prove that new files match | The write is rejected before commit | Filter the DataFrame to the overwrite range or accept the explicit validation risk |
| An Iceberg table sets an unsupported Parquet codec or compression level | The file write fails when the physical writer starts | Use a codec and level supported by the selected Parquet writer |
| A table write uses the same idempotence key for different input | New input can be treated as already written and skipped | Use one stable key per logical run and input |
| A retry uses a new idempotence key after the original commit landed | The destination can create a duplicate commit | Reuse the original key for the full retry |
| A custom sink finalizes to a schema different from its declared schema | The write fails after destination work completes | Keep the declared sink schema equal to the final result schema |
| A view is used as a writable catalog table | Append or overwrite is rejected because the view is immutable | Write to a storage-backed table |
| A required optional connector package is missing | The read, write, or catalog adapter cannot be created | Install the extra for the selected connector |
A Paimon read runs without pypaimon | The read raises ImportError before scan planning | Install pypaimon before calling read_paimon |
An explicit IOConfig does not grant access to the Paimon warehouse | Catalog credentials are ignored and the table read can fail at storage access | Pass working storage settings or let Daft derive them from the Paimon catalog options |
Key files
| File | Why to read it |
|---|---|
| daft/…/__init__.py | Public map of file, table-format, service, and storage entry points |
| daft/…/_avro.py | Avro file-read boundary, schema rules, path options, and checkpoint support |
| daft/…/_mcap.py | MCAP path expansion, time and topic filtering, task creation, and output schema choices |
| daft/…/_orc.py | ORC path discovery, schema alignment, and file-level scan tasks |
| daft/…/source.py | Python source and task contract for parallel reads, layout declarations, metadata pushdowns, and native file task creation |
| src/…/source.rs | Native source and task contract for metadata, partitions, and record batches |
| src/…/glob.rs | File discovery, schema inference, partition fields, and scan-task creation |
| src/…/file_format_config.rs | Shared file-format choices and bad-file behavior |
| src/…/python.rs | Python bridge for scan operators, data sources, file tasks, and catalog scan tasks |
| daft/filesystem.py | URI normalization and filesystem selection for local and remote paths |
| src/…/lib.rs | Native object-store selection and common object operations |
| src/…/azure_blob.rs | Azure and Fabric URI parsing, authentication, listing, range reads, and write boundary |
| src/…/opendal_source.rs | OpenDAL reads, writes, lists, deletes, multipart writes, and deadlines |
| src/…/path.rs | Hugging Face URI forms, revisions, resolve URLs, and bucket path normalization |
| src/…/mod.rs | Hugging Face object reads, listing, Parquet discovery, HTTP fallback, and error mapping |
| src/…/xet.rs | Xet read selection, file resolution, range mapping, and streamed downloads |
| daft/…/file_path.py | File discovery entry point for path and object metadata DataFrames |
| daft/…/_lance.py | Lance read entry point for URI, version, as-of, and namespace-based reads |
| daft/…/_paimon.py | Paimon table reads, storage-option conversion, and reader-path selection |
| daft/…/iceberg_scan.py | Iceberg snapshot planning, schema name mapping, partition and statistics pruning, delete-file handling, and count pushdown |
| daft/…/delta_lake_scan.py | Delta table version selection, column mapping, partition and statistics metadata, count pushdown, and scan-task creation |
| daft/…/_visitors.py | Conservative conversion of DataFrame filters into Delta file-statistics checks |
| daft/…/dataframe.py | User-facing file, table-format, and external-sink write boundaries |
| daft/…/writer.py | Shared file-writer behavior, output-file metadata, and format-specific compression settings |
| src/…/partition.rs | Relationship between partition columns and output files |
| daft/…/sink.py | Contract for custom destinations and write-result finalization |
| daft/…/__init__.py | Catalog, identifier, table, and adapter-facing public contracts |
| daft/…/__iceberg.py | Iceberg catalog and table behavior, including partition mapping and table operations |
| daft/…/_expressions.py | Boundary between Daft predicates and Iceberg read and overwrite filters |
| daft/…/iceberg_write.py | Iceberg data-file metadata, partition values, schema alignment, and overwrite-filter safety |
| src/…/catalog.rs | Native catalog capabilities for names, namespaces, tables, and functions |
| src/…/table.rs | Native table read, append, and overwrite contract |