airflow.providers.common.sql.config¶
Attributes¶
Classes¶
Configuration for datafusion object store connections. |
|
Supported data formats. |
|
Storage types for Data Fusion. |
|
Configuration for an input data source. |
Module Contents¶
- class airflow.providers.common.sql.config.ConnectionConfig[source]¶
Configuration for datafusion object store connections.
- class airflow.providers.common.sql.config.DataSourceConfig[source]¶
Configuration for an input data source.
File-based formats (parquet, csv, avro) require
uriand inferstorage_typeautomatically.Catalog-managed formats (iceberg, and in the future delta, etc.) do not require
uriorstorage_type; they useconn_idand format-specific keys inoptions(e.g.catalog_table_namefor Iceberg).- Parameters:
conn_id – The connection ID to use for accessing the data source.
uri – The URI of the data source (e.g., file path, S3 bucket, etc.). Not required for catalog-managed formats.
format – The format of the data (e.g., ‘parquet’, ‘csv’, ‘iceberg’).
table_name – The name to register the table under in DataFusion.
db_name – The namespace for table provider eg: iceberg needs to catalog it to look
storage_type – The type of storage (automatically inferred from URI). Not used for catalog-managed formats.
options – Additional options for the data source. e.g. you can set partition columns for any file-based datasource, or
catalog_table_namefor Iceberg.
- storage_type: StorageType | None = None[source]¶