Wenlu
10/10/2023, 1:15 AMElla Katz
10/10/2023, 4:13 AMtest_results_query in the elementary_test_results table.
How were you planning to insert it into the slack alert?Wenlu
10/10/2023, 4:20 AMtest_results_query field only contains complied query, however, i’d like to retrieve the query result, than only count of failure.
Do elementary store the acutal result somewhere?Ella Katz
10/10/2023, 4:49 AMnot_null , do you need the query that returns all the rows with nulls?
Also, just pointing out, we already include a result sample in our alerts 🙂Wenlu
10/10/2023, 6:18 AMAlex
10/10/2023, 6:44 AMtest_results_samples / test_result_rows, unless you disable it with test_sample_row_count: 0.
You can also use dbt native feature.
https://docs.getdbt.com/reference/resource-configs/store_failuresWenlu
10/12/2023, 1:52 AM