apache-airflow-providers-apache-polaris¶
Apache Polaris is an Apache Iceberg REST catalog. On top of the Iceberg REST protocol it adds a Management API (catalogs, principals, principal and catalog roles, grants), Polaris-only catalog APIs (policies, notifications) and its own authentication (realms, principal-role scopes, external OIDC identity providers).
What this provider is for¶
This provider manages everything a Polaris catalog defines, including what Polaris adds on top of the Iceberg REST protocol, which the Iceberg provider does not reach:
the
polarisconnection type (Apache Polaris Connection): one connection for internal Polaris credentials, an external identity provider, or a ready-made token, with realm and TLS settings;hooks built on the official
apache-polarisPython SDK:PolarisManagementHookfor the Management API andPolarisCatalogHookfor namespaces, tables, policies, notifications and a correctly configured pyiceberg catalog;idempotent operators for catalogs, namespaces, tables, principals, roles, grants and policies (Apache Polaris Operators), including
PolarisGetApplicablePoliciesOperator, which turns Polaris’s table-maintenance policies into one mapped task per table;to_spark_sql(), which turns each of those policies into the Iceberg procedure call a Spark task runs (Running maintenance on Spark).
What it deliberately does not do: read or write table data (use pyiceberg, the Iceberg provider or an engine provider), or handle principal client secrets (operators never return, log or store them).
apache-airflow-providers-apache-polaris package¶
Apache Polaris provider for Apache Airflow.
Owns the polaris connection type, hooks for the Polaris Management API and catalog
APIs, idempotent operators for catalogs, namespaces, tables, principals, roles,
grants and policies, and a helper that turns table-maintenance policies into Iceberg
Spark procedure calls.
Release: 0.1.0
Provider package¶
This package is for the apache.polaris provider.
All classes for this package are included in the airflow.providers.apache.polaris python package.
Installation¶
You can install this package on top of an existing Airflow installation via
pip install apache-airflow-providers-apache-polaris.
For the minimum Airflow version supported, see Requirements below.
Requirements¶
The minimum Apache Airflow version supported by this provider distribution is 3.1.1.
PIP package |
Version required |
|---|---|
|
|
|
|
|
|
Optional dependencies¶
These extras install optional third-party libraries that enable additional features of the provider. Install them when installing from PyPI. For example:
pip install apache-airflow-providers-apache-polaris[iceberg]
Extra |
Dependencies |
|---|---|
|
|
Downloading official packages¶
You can download officially released packages and verify their checksums and signatures from the Official Apache Download site