apache / apache/airflow

Generate database ERD using chartdb

Open
#46,057 13 comments 0 reactions 0 assignees View on GitHub
area:MetaDB good first issue kind:meta kind:task
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 10h
Merged PRs (30d)
483

Description

### Body

https://github.com/chartdb/chartdb is very popular project and generate nice ERD schemas (~though not sure if we can use it due to AGPL-3.0 license ?~)
We should update our [generation script](https://github.com/apache/airflow/blob/3f6f04868d09a8766e4652417b7c0e8082ca2fd7/scripts/in_container/run_prepare_er_diagram.py) to use it

Note: This library is to be used only for development. We are not distributing it to users thus we are OK with having it despite AGPL-3.0 license https://www.apache.org/legal/resolved.html#prohibited (Thanks to Jarek for this clarification)
### Committer

- [x] I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Contributor guide

Open the contributing guide

Research direction

Start with scripts/in_container/run_prepare_er_diagram.py and review how the current database ERD is generated. Check chartdb's supported inputs and the existing development-only license guidance, then run the generation workflow. Done means the script produces the ERD using chartdb without distributing chartdb to Airflow users.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
databases, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.