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

Added support for aliased models and source blocks #17

Merged
merged 7 commits into from
May 26, 2021

Commits on May 10, 2021

  1. Added support for aliased models and source blocks

    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.
    z3z1ma authored May 10, 2021
    Configuration menu
    Copy the full SHA
    cdb540d View commit details
    Browse the repository at this point in the history

Commits on May 25, 2021

  1. Update dbt.py

    Replace print with log and ensure multiple sources in a single YML can be looped through- also formatted according to black
    z3z1ma authored May 25, 2021
    Configuration menu
    Copy the full SHA
    670583d View commit details
    Browse the repository at this point in the history
  2. black formatting update

    replace single quoting with double to conform to style guideline
    z3z1ma authored May 25, 2021
    Configuration menu
    Copy the full SHA
    af25df9 View commit details
    Browse the repository at this point in the history
  3. logging for empty or invalid yml

    useful when project structure is defined and ymls created but not yet populated
    z3z1ma authored May 25, 2021
    Configuration menu
    Copy the full SHA
    5fbafff View commit details
    Browse the repository at this point in the history

Commits on May 26, 2021

  1. logging updates

    replaced last prints with info level logs and made invalid yml logger msg match rest
    z3z1ma authored May 26, 2021
    Configuration menu
    Copy the full SHA
    85a2730 View commit details
    Browse the repository at this point in the history
  2. more detailed model logging

    Re-added processing model logger info msg
    z3z1ma authored May 26, 2021
    Configuration menu
    Copy the full SHA
    9c846e7 View commit details
    Browse the repository at this point in the history
  3. log msg matching recommendation

    updated log to match recommendation
    z3z1ma authored May 26, 2021
    Configuration menu
    Copy the full SHA
    03bb615 View commit details
    Browse the repository at this point in the history