Skip to content

Commit 13fafae

Browse files
author
Michael Myaskovsky
committed
fixed pr
1 parent 9f90d4c commit 13fafae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

elementary/monitor/dbt_project/macros/get_test_results.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@
219219

220220
{%- if (test_type == 'dbt_test' and status in ['fail', 'warn']) or (test_type != 'dbt_test' and status in elementary_tests_allowlist_status) -%}
221221
{% set test_rows_sample = elementary_cli.get_test_rows_sample(test.result_rows, test_result_rows_agate.get(test.id)) %}
222+
{# Dimension anomalies return multiple dimensions for the test rows sample, and needs to be handle differently. #}
223+
{# Currently we show only the anomalous for all of the dimensions. #}
222224
{% if test.test_sub_type == 'dimension' or test_params.dimensions %}
223225
{% if test.test_sub_type == 'dimension' %}
224226
{% set metric_name = 'row_count' %}

0 commit comments

Comments
 (0)