-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[CT-3489] [Feature] Update run_results.json
as each node finishes
#9276
Comments
See #8413 |
wouldn't it be possible to update the file every few minutes at least? our use case is that we have a write-audit-publish ETL so we would like to copy tables after they have been tested. There's no post-hook for tests which would have been our other option |
run_results.json
as each node finishes
Thanks for reaching out about this @jmriego ! (And thanks for linking to #8413 @jaypeedevlin)
At this time, we're not planning on writing WorkaroundsTo enable the workflow you were imagining with Here's just a few:
Here's a very simplified example of that final one:
{{ config(materialized="table") }}
select null as id
{{ config(materialized="table") }}
select * from {{ ref("write") }} Example output when it fails the test (the final model is skipped an not (re-)built):
But if you change select null as id |
Is this a new bug in dbt-core?
Current Behavior
when i run
dbt build --target dev
run_results.json is available after entire run is completed or when i exit the process. The file is empty during dbt build. We use dbt-athena adapter to build our models in AWS AthenaExpected Behavior
run_results.json should be available during run and after each node is completed it should update run_results.json because this feature is already merged #7539
Steps To Reproduce
dbt build
to run dbtRelevant log output
No response
Environment
Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
dbt-athena
The text was updated successfully, but these errors were encountered: