Closed z3z1ma closed 3 years ago
@gouline
Changes requested are complete. I'll probably contribute more in the near future considering the successful adoption of dbt I worked with my company to achieve and our relatively high usage of metabase.
@gouline Changes complete as recommended. 👍
Added alias support in model parsing. Also added searching for "sources" yml blocks pushing table/column documentation to metabase (defining sources is recommended by dbt best practices and often done in tandem with creating staging models). Allows using "metabase.fk_ref" in sources or models .yml in order explicitly define a metabase relationship to a table which allows us to propagate the FK relationship properly to Metabase regardless of aliasing. metabase.fk_ref is looked for first in meta before falling back to default parser.