This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new c9e1ccf1981 Migrate apache/iceberg connection UI metadata to YAML
(#63172)
c9e1ccf1981 is described below
commit c9e1ccf19811182289ae584816145b5cb5154c67
Author: Jeongwoo Do <[email protected]>
AuthorDate: Wed Mar 11 08:49:29 2026 +0900
Migrate apache/iceberg connection UI metadata to YAML (#63172)
---
providers/apache/iceberg/provider.yaml | 13 +++++++++++++
.../airflow/providers/apache/iceberg/get_provider_info.py | 10 ++++++++++
2 files changed, 23 insertions(+)
diff --git a/providers/apache/iceberg/provider.yaml
b/providers/apache/iceberg/provider.yaml
index c4da4f50483..53bb94abf6b 100644
--- a/providers/apache/iceberg/provider.yaml
+++ b/providers/apache/iceberg/provider.yaml
@@ -56,3 +56,16 @@ hooks:
connection-types:
- hook-class-name: airflow.providers.apache.iceberg.hooks.iceberg.IcebergHook
connection-type: iceberg
+ ui-field-behaviour:
+ hidden-fields:
+ - schema
+ - port
+ relabeling:
+ host: Catalog URI
+ login: Client ID
+ password: Client Secret
+ placeholders:
+ host: https://your-catalog.example.com/ws/v1
+ login: client_id (OAuth2 credentials)
+ password: client_secret (OAuth2 credentials)
+ extra: '{"warehouse": "s3://my-warehouse/", "s3.region": "us-east-1"}'
diff --git
a/providers/apache/iceberg/src/airflow/providers/apache/iceberg/get_provider_info.py
b/providers/apache/iceberg/src/airflow/providers/apache/iceberg/get_provider_info.py
index efdd16c52db..56bd75339fb 100644
---
a/providers/apache/iceberg/src/airflow/providers/apache/iceberg/get_provider_info.py
+++
b/providers/apache/iceberg/src/airflow/providers/apache/iceberg/get_provider_info.py
@@ -44,6 +44,16 @@ def get_provider_info():
{
"hook-class-name":
"airflow.providers.apache.iceberg.hooks.iceberg.IcebergHook",
"connection-type": "iceberg",
+ "ui-field-behaviour": {
+ "hidden-fields": ["schema", "port"],
+ "relabeling": {"host": "Catalog URI", "login": "Client
ID", "password": "Client Secret"},
+ "placeholders": {
+ "host": "https://your-catalog.example.com/ws/v1",
+ "login": "client_id (OAuth2 credentials)",
+ "password": "client_secret (OAuth2 credentials)",
+ "extra": '{"warehouse": "s3://my-warehouse/",
"s3.region": "us-east-1"}',
+ },
+ },
}
],
}