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

[Bug]: "compile_started_at" and "query_completed_at" times for test get extracted from wrong object resulting in nulls #427

Closed
TimWitzel opened this issue May 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@TimWitzel
Copy link

Overview

for the test_executions data, the two fields "compile_started_at" and "query_completed_at" are always null.

How to reproduce

Run anything and check the test_executions.

Expected behaviour

Both fields should be properly extracted from the run results.

Screenshots

image

Environment

Results of running dbt --version:
dbt core 1.7.11, dbt artifacts 2.6.2 on databricks

Potential Fix

image
Seems like there was a copy/paste error. Changing the model.timing to test.timing (for compile started at and query completed at) fixes this. Seems like this was overlooked.

@TimWitzel TimWitzel added the bug Something isn't working label May 2, 2024
@TimWitzel
Copy link
Author

Just saw that there is already a pull request for that: #420

@llifoawing
Copy link
Member

This has been fixed and latest version available on dbt Hub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants