Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DuckDB connections should reflect correctly on UI #7

Open
sunank200 opened this issue Feb 13, 2023 · 1 comment
Open

DuckDB connections should reflect correctly on UI #7

sunank200 opened this issue Feb 13, 2023 · 1 comment

Comments

@sunank200
Copy link
Contributor

The DuckDB connection configured in airflow_settings.yaml is created on the UI, but its custom File field comes up blank - even when set in the Host field as shown in ci-test-connections.yaml. I had to set it with an env var os.environ['AIRFLOW_CONN_DUCKDB_CONN'] = 'duckdb://%2Ftmp%2Fdb.duckdb'

Unless I’m configuring airflow_settings.yaml wrong, the 1st item should be addressed on the Hook’s UI field behavior.

@josh-fell
Copy link
Contributor

Setting up airflow_settings.yaml in a local Astro project like this worked for me:

airflow:
  connections:
    - conn_id: duckdb
      conn_type: duckdb
      conn_host: duckdb://%2Ftmp%2Fdb.duckdb

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants