Skip to content

Commit

Permalink
dbt report should be using labeled query history (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
rymurr authored Sep 6, 2023
1 parent abf0a28 commit 37c470f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ui/reports_dbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def report(
value:VALUE as dbt_qtag_value, tools.model_run_time(total_elapsed_time) as run_time,
tools.model_size(tools.model_size_rows(zeroifnull(rows_produced)), tools.model_size_bytes(bytes_written_to_result)) as size,
tools.model_efficiency(bytes_spilled_to_local_storage, bytes_spilled_to_remote_storage) as efficiency
from reporting.enriched_query_history, lateral flatten(qtag)
from reporting.labeled_query_history, lateral flatten(qtag)
where
value:SOURCE = 'dbt'
and (value:KEY = 'invocation_id' or value:KEY = 'node_id')
Expand Down

0 comments on commit 37c470f

Please sign in to comment.