You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actionsbot
changed the title
[Feature] Public API returns task or task.manifest
[CT-70] [Feature] Public API returns task or task.manifest
Jan 19, 2022
The dbt 'parse' command with the '--write-manifest' option will write out the manifest.json file, which is the official interface for that information. From the manifest.json you could get the node and depends_on information.
Since we do provide an official source of this information, I'm going to close this ticket, but if you feel that this doesn't address your needs, please update with additional information.
Is there an existing feature request for this?
Describe the Feature
Is there public api to return
task
ortask.manifest.
which is useful to integrate db to external applications like airflowCurrently
handle_and_check
is not returningtask
, if it was that would work too.having manifest.nodes makes it possible to create Airflow dag with granular tasks( a task per model) with correct dependencies.
example:
manifest.node
with correct dependencies (usingmanifest.node.depends_on
)this makes it possible to run some custom checks before running model
for-example running tests on all source dependencies and then running the model.
related #2013
Describe alternatives you've considered
No response
Who will this benefit?
Anyone using dbt with Airflow
Are you interested in contributing this feature?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: