amundsen icon indicating copy to clipboard operation
amundsen copied to clipboard

feat: Store relationships between queries and tables

Open jonhehir opened this issue 4 years ago • 5 comments

As mentioned in today's community meeting, the current method of associating dashboards to tables is through a relationship between dashboards and tables. There is no relationship stored between queries and tables. It seems to me that storing a relationship between queries and tables would be an easy add that would allow for greater flexibility in terms of how we use the data.

Service or Ingestion ETL

Metadata

Possible Implementation

  • Option 1: Store the relationship between queries and tables instead of between dashboards and tables. Dashboard--table relationships would only exist through intermediate query nodes.
  • Option 2: Store the relationship between queries and tables in addition to the relationship between dashboards and tables. This would require no immediate changes but would store additional relationships for potential use.

Context

I have no real immediate use-case for this, but this would potentially be useful for displaying example queries directly on tables (rather than showing relevant dashboards and making the user find the query) or even example queries that join some set of tables.

jonhehir avatar Jul 09 '20 17:07 jonhehir

thanks @jonhehir for putting lots of great details on improving the project!

feng-tao avatar Jul 09 '20 19:07 feng-tao

also I wonder whether it is now a good time to put asana as one of Amundsen users in https://github.com/lyft/amundsen#who-uses-amundsen given all the great work you and your team is doing ? also cc @jdavidheiser

feng-tao avatar Jul 09 '20 19:07 feng-tao

RFC for this https://github.com/amundsen-io/rfcs/pull/27, would love your thoughts @jonhehir

dorianj avatar Mar 12 '21 21:03 dorianj

Jon may not be available (his internship where he worked on this ended a while ago), but I have some context on what he was doing, so will take a look.

jdavidheiser avatar Mar 14 '21 14:03 jdavidheiser

Hey, folks! Sorry for the delayed response. As @jdavidheiser mentioned, I'm out of the internship and back on the grad school grind, so this isn't something I'm focused on currently. I'll leave a few comments in the RFC, though. Thanks!

jonhehir avatar Mar 21 '21 17:03 jonhehir