-
Notifications
You must be signed in to change notification settings - Fork 159
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
Convert cli commands to use dbt executable path #83
Conversation
@jlaneve & @iancmoritz, after merging this, we should probably tag a new minor release - this is going to break some shit |
hmm I was thinking this would look more along the lines of: DbtTaskGroup(
...,
dbt_executable="/usr/local/airflow/dbt_venv/bin/dbt"
) This would abstract away the venv, lineage, etc management from our operators and let the user handle it, so you could do something like: DbtTaskGroup(
...,
dbt_executable="/usr/local/airflow/dbt_venv/bin/dbt-ol"
) And I believe we could also default it to just @pohek321 what do you think? |
@jlaneve Ahhh, yeah that makes way more sense - that's a pretty easy change anyway. I'll get it done. |
Did some successful testing: dbt-olRunning
|
@jlaneve sorry for the long comment ☝🏻 |
nice! that looks great, can we rename |
@jlaneve just committed it up -- thoughts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apologies for the big review here, but tried to be overly verbose to turn this into a checklist 😬
overall looking really good! just a handful of minor things
Co-authored-by: Julian LaNeve <[email protected]>
Co-authored-by: Julian LaNeve <[email protected]>
…mos into dbt-executable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks great!
@jlaneve @iancmoritz I forgot to bump the minor version. We probably should do this after implementing [this](#83) as it broke some stuff.
Currently, we are sourcing the venv here. Instead, we should reference the dbt executable so that implementing the
dbt-ol
wrapper is easier.Before:
After: