Skip to content

Commit

Permalink
Update macros/upload_individual_datasets/upload_test_executions.sql
Browse files Browse the repository at this point in the history
Co-authored-by: Laura Li Foa Wing <[email protected]>
  • Loading branch information
michelley-an and llifoawing authored Aug 12, 2024
1 parent 17060c0 commit a0b0417
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
{% if query_completed_at %}'{{ query_completed_at }}'{% else %}null{% endif %}, {# query_completed_at #}

{{ test.execution_time }}, {# total_node_runtime #}
try_cast('{{ model.adapter_response.rows_affected }}' as int), {# rows_affected #}
try_cast('{{ test.adapter_response.rows_affected }}' as int), {# rows_affected #}
{{ 'null' if test.failures is none else test.failures }}, {# failures #}
'{{ test.message | replace("\\", "\\\\") | replace("'", "\\'") | replace('"', '\\"') }}', {# message #}
'{{ tojson(test.adapter_response) | replace("\\", "\\\\") | replace("'", "\\'") | replace('"', '\\"') }}' {# adapter_response #}
Expand Down

0 comments on commit a0b0417

Please sign in to comment.