Skip to content

the airflow druid_ingest_default connection test always fails. #33795

Closed as not planned

Description

@jaegwonseo

Apache Airflow version

2.7.0

What happened

the airflow druid_ingest_default connection test always fails.

there is two type of connection types

  1. druid broker : airflow.providers.apache.druid.hooks.druid.DruidDbApiHook
  2. druid ingest : airflow.providers.apache.druid.hooks.druid.DruidHook

only druid broker connection is exposed : https://github.com/apache/airflow/blob/main/airflow/providers/apache/druid/provider.yaml#L74

and airflow.providers.apache.druid.hooks.druid.DruidHook dosen't not implement connection test

What you think should happen instead

.

How to reproduce

.

Operating System

m2 mac

Versions of Apache Airflow Providers

No response

Deployment

Official Apache Airflow Helm Chart

Deployment details

No response

Anything else

  1. expose druid connection type
connection-types:
  - hook-class-name: airflow.providers.apache.druid.hooks.druid.DruidDbApiHook
    connection-type: druid_broker
  - hook-class-name: airflow.providers.apache.druid.hooks.druid.DruidHook
    connection-type: druid_ingest
  1. implement connection test
    def test_connection(self) -> tuple[bool, str]:
        retrun True, "" 
  1. modify create_default_connections method
    https://github.com/apache/airflow/blob/main/airflow/utils/db.py#L224

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. eladkal commented on May 5, 2024

    @eladkal
    Contributor

    @danielbe11 you had several contributions for thr druid provider. Maybe you can look into this one?

  2. github-actions commented on May 5, 2025

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has been open for 365 days without any activity. There has been several Airflow releases since last activity on this issue. Kindly asking to recheck the report against latest Airflow version and let us know if the issue is reproducible. The issue will be closed in next 30 days if no further activity occurs from the issue author.

  3. github-actions commented on Jun 5, 2025

    @github-actions
    Contributor

    This issue has been closed because it has not received response from the issue author.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions