From fed7f567b72d6d42b4a37f3013a46372b22717a6 Mon Sep 17 00:00:00 2001 From: btkcodedev Date: Mon, 1 Dec 2025 21:21:45 +0530 Subject: [PATCH] feat(ingest/airflow): add teradata operator support for Airflow plugin (#15418) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sergio Gómez Villamor --- docs/lineage/airflow.md | 1 + .../airflow-plugin/setup.py | 1 + .../src/datahub_airflow_plugin/_extractors.py | 31 +- .../integration/dags/teradata_operator.py | 39 + .../goldens/v2_teradata_operator.json | 674 ++++++++++++++++++ .../tests/integration/test_plugin.py | 11 + .../tests/unit/test_teradata_extractor.py | 209 ++++++ 7 files changed, 965 insertions(+), 1 deletion(-) create mode 100644 metadata-ingestion-modules/airflow-plugin/tests/integration/dags/teradata_operator.py create mode 100644 metadata-ingestion-modules/airflow-plugin/tests/integration/goldens/v2_teradata_operator.json create mode 100644 metadata-ingestion-modules/airflow-plugin/tests/unit/test_teradata_extractor.py diff --git a/docs/lineage/airflow.md b/docs/lineage/airflow.md index 0896027229..0bdcfa1b26 100644 --- a/docs/lineage/airflow.md +++ b/docs/lineage/airflow.md @@ -94,6 +94,7 @@ Supported operators: - `RedshiftSQLOperator` - `SnowflakeOperator` and `SnowflakeOperatorAsync` - `SqliteOperator` +- `TeradataOperator` (_Note: Teradata uses two-tier `database.table` naming without a schema level_) - `TrinoOperator`