{"id":23256,"library":"apache-airflow-providers-apache-kylin","title":"Apache Airflow Provider for Apache Kylin","description":"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.","status":"active","version":"3.10.4","language":"python","source_language":"en","source_url":"https://github.com/apache/airflow/tree/main/airflow/providers/apache/kylin","tags":["airflow","provider","kylin","etl"],"install":[{"cmd":"pip install apache-airflow-providers-apache-kylin","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Required for provider base classes and hooks","package":"apache-airflow","optional":false}],"imports":[{"note":"Old path from provider versions < 3.0.0","wrong":"from airflow.hooks.kylin_hook import KylinHook","symbol":"KylinHook","correct":"from airflow.providers.apache.kylin.hooks.kylin import KylinHook"},{"note":"Old path from provider versions < 3.0.0","wrong":"from airflow.operators.kylin_operator import KylinOperator","symbol":"KylinOperator","correct":"from airflow.providers.apache.kylin.operators.kylin import KylinOperator"}],"quickstart":{"code":"from airflow import DAG\nfrom airflow.providers.apache.kylin.hooks.kylin import KylinHook\nfrom datetime import datetime\n\nhook = KylinHook(kylin_conn_id='kylin_default')\ncubes = hook.get_cubes()\nprint(cubes)","lang":"python","description":"Initialize KylinHook and list cubes. Requires a Kylin connection configured in Airflow (e.g., conn_id 'kylin_default')."},"warnings":[{"fix":"Update imports to use the new provider path: `from airflow.providers.apache.kylin.hooks.kylin import KylinHook`.","message":"In provider version 3.0.0, the import paths changed from `airflow.hooks.kylin_hook` to `airflow.providers.apache.kylin.hooks.kylin`.","severity":"breaking","affected_versions":"< 3.0.0"},{"fix":"Use the connection type defined in the Airflow UI instead of passing `kylin_conn_type`.","message":"The `kylin_conn_type` parameter in KylinHook is deprecated and will be removed in future versions.","severity":"deprecated","affected_versions":">= 3.5.0"},{"fix":"Verify that the Kylin connection's host, port, username, and password are correct, and test the connection using `hook.test_connection()`.","message":"KylinHook methods like `get_cubes()` may return empty results if the Kylin service is in a different namespace or if the connection lacks proper authorization.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `pip install apache-airflow-providers-apache-kylin` and ensure Airflow is restarted.","cause":"Provider package not installed or not activated in Airflow environment.","error":"ModuleNotFoundError: No module named 'airflow.providers.apache.kylin'"},{"fix":"Use `from airflow.providers.apache.kylin.hooks.kylin import KylinHook` and update to provider version >=3.0.0.","cause":"Incorrect import path or using an older provider version where the hook was elsewhere.","error":"AttributeError: module 'airflow.providers.apache.kylin.hooks.kylin' has no attribute 'KylinHook'"},{"fix":"Create the connection via Airflow UI (Admin -> Connections) or via environment variable `AIRFLOW_CONN_KYLIN_DEFAULT`.","cause":"A Kylin connection with that ID has not been created in Airflow.","error":"airflow.exceptions.AirflowException: The conn_id `kylin_default` isn't defined"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}