Skip to content

Conversation

@tomasfarias
Copy link
Owner

Also includes support for zip files!

Closes: #15

Even though I claimed that airflow_dbt_python does not wrap the dbt
CLI, this was not entirely true: we were still preparing a list of
string flags and passing those to the dbt cli's argument parsers.

Well, not anymore! The new dbt hook allows us to interface directly
with the dbt task classes. The hook includes multiple configurations
for all supported tasks.

Moreover, the hook tests out a new experimental feature: running from
compiled targets. Instead of having to re-compile an entire dbt
project on every run this should allow us to run using only the target
directory. This is still considered exprimental though.
Like mentioned in the previous commit, this simply replaces all the
code used to prepare the CLI flags for the new dbt hook. We also
refactored some of the tests.
@tomasfarias tomasfarias merged commit e06caeb into master Dec 6, 2021
@tomasfarias tomasfarias deleted the create-dbt-hook branch December 6, 2021 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve S3 downloads by allowing zip files or pre-compiled models

2 participants