Skip to content

Generate database ERD using chartdb #46057

Open

Description

@eladkal

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 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

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Activity

  1. added
    kind:meta
    kind:task
    on Jan 26, 2025
  2. added
    area:MetaDB
    on Jan 26, 2025
  3. jx2lee commented on Jan 26, 2025

    @jx2lee
    Contributor

    @eladkal Can i take this?

  4. eladkal commented on Jan 26, 2025

    @eladkal
    ContributorAuthor

    @eladkal Can i take this?

    Assigned

  5. eladkal commented on Mar 20, 2025

    @eladkal
    ContributorAuthor

    @jx2lee did you make progress on this one?

  6. jx2lee commented on Mar 20, 2025

    @jx2lee
    Contributor

    @eladkal
    Oh, sorry to forget. I didn't start to work on this. If it need to be solved quickly, reassign please. otherwise, could i proceed from tomorrow? 🙏

  7. eladkal commented on Mar 23, 2025

    @eladkal
    ContributorAuthor

    That's OK we have time. It's not urgent.

  8. jx2lee commented on Mar 30, 2025

    @jx2lee
    Contributor

    @eladkal i think it's available below steps, need for your advice

    • In using generate script, run container for chartdb because It doesn't have python sdk, like eralchemy2
    • To export schema, query given sql to local airflow database. (Is to be sqlite3, right?)
    • With json generated by below step, request image to chartdb container

    ChartDB doesn't offer python sdk, so it is the only way I could think.

  9. eladkal commented on Apr 1, 2025

    @eladkal
    ContributorAuthor

    @jx2lee is there an open feature request to add Python SDK? Maybe upstream can support for it and then the task here would be easier

  10. jx2lee commented on Apr 4, 2025

    @jx2lee
    Contributor

    is there an open feature request to add Python SDK?

    Nope. There isn't open(or close) feature request about Python SDK. Looks like I either need to request the feature(python sdk on chartdb) or implement itself.

  11. eladkal commented on Apr 4, 2025

    @eladkal
    ContributorAuthor

    Better to start by opening issue to the project

  12. jx2lee commented on Apr 13, 2025

    @jx2lee
    Contributor

    @eladkal
    chartdb/chartdb#648 (comment)

    Maintainer seems very interested — I’ll get started after syncing about feature request. Thanks for your guidance!

  13. eladkal commented on Sep 22, 2025

    @eladkal
    ContributorAuthor

    hi @jx2lee has there been progress with chartdb?

  14. jx2lee commented on Sep 22, 2025

    @jx2lee
    Contributor

    hi @jx2lee has there been progress with chartdb?

    @eladkal I realized forgot about this issue, and I apologize for not tracking it properly 🙏

    As I may not be able to manage this efficiently, could you kindly reassign it to someone else who can move it forward?

    Thank you for your understanding.

  15. eladkal commented on Mar 11, 2026

    @eladkal
    ContributorAuthor

    For reference schema generation mechanism had changed #63386

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:MetaDBgood first issuekind:metakind:task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions