Registry / devops / apache-airflow-providers-apache-kylin

apache-airflow-providers-apache-kylin

JSON →
library3.10.5pypypi✓ verified 84d ago

Apache Airflow provider for Apache Kylin, enabling integration with Kylin's REST API for cube operations, querying, and metadata management. Current version is 3.10.4, with release cadence following Airflow's provider release cycle.

pip install apache-airflow-providers-apache-kylin
INSTALL
IMPORT
SIG · APACHE-AIRFLOW-PRO
A
apache-airflow-providers-apache-kylin
devopspythonv3.10.5
Install
24.2s avg
Import
4733ms
Disk
252MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.10.5 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 4.936s · 252.7MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 24.2s · import 4.530s · 250MB
252MB installed
● package 252MB
Code
Verified usage

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

KylinHook
from airflow.providers.apache.kylin.hooks.kylin import KylinHook
from airflow.hooks.kylin_hook import KylinHook
Old path from provider versions < 3.0.0
KylinOperator
from airflow.providers.apache.kylin.operators.kylin import KylinOperator
from airflow.operators.kylin_operator import KylinOperator
Old path from provider versions < 3.0.0

Initialize KylinHook and list cubes. Requires a Kylin connection configured in Airflow (e.g., conn_id 'kylin_default').

from airflow import DAG from airflow.providers.apache.kylin.hooks.kylin import KylinHook from datetime import datetime hook = KylinHook(kylin_conn_id='kylin_default') cubes = hook.get_cubes() print(cubes)
Debug
Known issues
breakingIn provider version 3.0.0, the import paths changed from `airflow.hooks.kylin_hook` to `airflow.providers.apache.kylin.hooks.kylin`.
fix
Update imports to use the new provider path: `from airflow.providers.apache.kylin.hooks.kylin import KylinHook`.
affects: < 3.0.0
deprecatedThe `kylin_conn_type` parameter in KylinHook is deprecated and will be removed in future versions.
fix
Use the connection type defined in the Airflow UI instead of passing `kylin_conn_type`.
affects: >= 3.5.0
gotchaKylinHook methods like `get_cubes()` may return empty results if the Kylin service is in a different namespace or if the connection lacks proper authorization.
fix
Verify that the Kylin connection's host, port, username, and password are correct, and test the connection using `hook.test_connection()`.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'airflow.providers.apache.kylin'
Provider package not installed or not activated in Airflow environment.
fix
Run `pip install apache-airflow-providers-apache-kylin` and ensure Airflow is restarted.
AttributeError: module 'airflow.providers.apache.kylin.hooks.kylin' has no attribute 'KylinHook'
Incorrect import path or using an older provider version where the hook was elsewhere.
fix
Use `from airflow.providers.apache.kylin.hooks.kylin import KylinHook` and update to provider version >=3.0.0.
airflow.exceptions.AirflowException: The conn_id `kylin_default` isn't defined
A Kylin connection with that ID has not been created in Airflow.
fix
Create the connection via Airflow UI (Admin -> Connections) or via environment variable `AIRFLOW_CONN_KYLIN_DEFAULT`.
Upgrade
Version history
3.10.5latest on PyPI · released Jun 7, 2026
Audit
Dependencies
apache-airflowrequiredRequired for provider base classes and hooks
Agent activity
58 hits · last 30 days
node
48
OpenAI (training)
1
Resources
apache-airflow-providers-apache-kylin — pip install apache-airflow-providers-apache-kylin · libregistry