Understanding DFS¶
What is DFS?¶
A Distributed File System (DFS) is a storage architecture that allows data to be stored across multiple machines or locations, while providing access to it as if it were on a single local system. In the context of modern cloud platforms, DFS encompasses cloud object storage services like Amazon S3, Azure Data Lake Storage, and Google Cloud Storage - which store data as objects (files) organized in buckets and folders, supporting formats like Parquet, AVRO, CSV, and JSON.
How DFS Works in Qualytics¶
Qualytics uses DFS connectors to connect to cloud object storage and distributed file systems. When you add a DFS datastore, Qualytics:
- Establishes a connection to your storage platform using credentials (access keys, service accounts, service principals, or connection strings).
- Walks the directory tree during the Sync operation - reading files with supported extensions and creating containers based on file metadata and naming patterns.
- Reads data using native cloud connectors for optimized, parallel file reads across partitions.
- Writes enrichment output to the linked destination, which can use a different connector. All DFS connectors support enrichment datastores, using a dedicated writable storage path for the output.
Connections and Security
For details on connection configuration, authentication methods (Shared Key, Service Principal, IAM roles), and secrets management, see the Connection documentation.
Data Organization¶
In DFS datastores, data is organized as:
- Containers: Files in a folder that share a common schema. Qualytics automatically groups files with similar naming patterns into a single globbed container (e.g.,
orders_*.csv). This grouping process is called Filename Globbing and treats each file as a partition of the same logical dataset. - Fields: Columns within each file, detected automatically based on the file format and schema.
- Records: Rows of data within each file, analyzed during Profile and Scan operations.
Each container also records the file format Sync detected, such as Parquet, Delta, or CSV. The format appears in a File Format row with the container's other details, in the footer of the datastore tree and in the details shown on the container's breadcrumb.
Containers
For a detailed understanding of how Qualytics manages containers in DFS datastores, see the Containers Overview documentation.
Field Type Detection¶
Sync creates the file patterns but no fields. When a file pattern is profiled, Qualytics discovers its fields and detects their types based on the file format:
- Schema-aware formats (Parquet, AVRO, ORC, Delta, Iceberg) - Field types are read directly from the file's embedded schema (shown as Declared Type in the field overview). The file pattern setting Infer the data type for each field and cast it appropriately is off by default for these formats.
- Schema-less formats (CSV, JSON) - Qualytics uses weighted histogram analysis to detect the types of text fields from their values, identifying integers, decimals, dates, timestamps, and text. The file pattern setting Infer the data type for each field and cast it appropriately is on by default for these formats. Turning it off keeps the types as the file loads them. When a detected type differs from the loaded one (for example, a CSV column that holds dates), the field overview shows it as Detected Type. Values that JSON already types, such as numbers and booleans, show Declared Type. Field types cannot be changed on a single field.
Bulk Creation¶
DFS datastores have no catalog/schema hierarchy, so bulk creation works with root paths instead. In the Add Datastore form, selecting several paths in Root Path creates one datastore per path. Through the API, provide a list of root_paths in the bulk creation request. Each root path creates a separate DFS datastore. See the Datastore API for details.
Getting Started¶
-
Add with New Connection
Create a new DFS datastore by setting up a new connection from scratch.
-
Add with Existing Connection
Create a new DFS datastore by reusing credentials from an existing connection.
-
Available DFS Connectors
Browse the full list of supported DFS connectors.
-
Connections
Configure connection details, authentication, and secrets management.
-
Supported File Formats
Parquet, AVRO, CSV, JSON, Delta, Iceberg, ORC, and more.
-
Filename Globbing
How files are grouped into containers and best practices for organizing your data.
Available Operations¶
Once a DFS datastore is added, you can run the following operations:
| Operation | Description |
|---|---|
| Sync | Walks the directory tree, reads files with supported extensions, and creates containers based on file metadata and naming patterns. Detects new, changed, or removed files incrementally. |
| Profile | Analyzes records across containers to compute statistics, detect data patterns, and automatically infer quality checks. |
| Scan | Executes quality checks against the data, measures data quality metrics, and detects anomalies at the record and schema levels. |
| External Scan | Runs scan operations using externally provided data files. |
Tip
The recommended sequence is Sync → Profile → Scan. This cycle is repeatable - as your data evolves, re-running these operations keeps your quality checks and anomaly detection up to date.
See Also¶
-
Native Connectors
How Qualytics reads a platform's own storage or API without its query engine.
-
Supported File Formats
The file formats DFS datastores read, including compressed variants.
-
Filename Globbing
How DFS datastores group files with similar names into one container.
-
HashiCorp Vault
Pull connection credentials from a secrets manager instead of typing them in.
-
Examples
Real scenarios, from onboarding a warehouse to protecting a busy database.
-
Best Practices
Recommendations for scoping datastores, sharing connections, and keeping access tight.
-
Permissions
The role and team permission each datastore action needs.
-
How It Works
How a datastore maps to your storage, the layers behind it, the lifecycle, and the Timeline.
-
Connection
How a connection holds the credentials that one or more datastores share.
-
Multiple-Schema
Create one datastore per schema or folder from a single connection.
-
Supported Connectors
Every connector by family, with its enrichment support and multi-schema fields.
-
JDBC Connectors
How Qualytics reads relational databases and warehouses through JDBC.