Registry / workflow / apache-airflow-providers-ydb

apache-airflow-providers-ydb

JSON →
library2.5.2pypypiunverified

Apache Airflow provider that enables integration with Yandex Database (YDB). Current version is 2.5.2, supports Airflow 2.8+ and Python 3.10+. Released on a monthly cadence alongside Airflow.

pip install apache-airflow-providers-ydb
INSTALL
IMPORT
SIG · APACHE-AIRFLOW-PRO
A
apache-airflow-providers-ydb
workflowpythonv2.5.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

YdbHook
from airflow.providers.ydb.hooks.ydb import YdbHook
from airflow.providers.ydb.hooks.ydb import YdbHook

Create a DAG that executes a YDB query using the YdbOperator. Requires an Airflow connection 'ydb_default' configured with YDB endpoint and database.

from datetime import datetime from airflow import DAG from airflow.providers.ydb.operators.ydb import YdbOperator default_args = {\n 'start_date': datetime(2024, 1, 1),\n 'conn_id': 'ydb_default'\n} with DAG('ydb_dag', default_args=default_args, schedule_interval=None) as dag:\n task = YdbOperator( task_id='execute_query', sql='SELECT 1;', ydb_conn_id='ydb_default' )
Debug
Known issues
breakingIn version 2.0.0, connection parameters changed from token-based to connection string. Existing connections must be updated.
fix
Update Airflow connection to use 'extra' field with 'endpoint' and 'database' keys instead of 'token'.
affects: >=2.0.0,<3.0.0
deprecatedYdbToDWHOperator is deprecated as of v2.5.0, use YdbToClickhouseOperator or custom transfer.
fix
Migrate to YdbToClickhouseOperator for ClickHouse integration.
affects: >=2.5.0
gotchaSSL verification is enabled by default; internal clusters may need SSL disabled in connection extra.
fix
Set 'ssl_verify': 'false' in the connection's extra JSON if using self-signed certificates.
affects: all
Upgrade
Version history
2.5.2latest on PyPI · released Apr 12, 2026
Audit
Dependencies
apache-airflowrequiredRequired: Airflow provider package dependency
ydbrequiredRequired: YDB Python SDK
Agent activity
36 hits · last 30 days
node
32
OpenAI (training)
2
Resources
apache-airflow-providers-ydb — pip install apache-airflow-providers-ydb · libregistry