File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
integration_tests/models/marts Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ metrics:
36
36
# Specify the measure you are creating a proxy for.
37
37
measure : total_count
38
38
filter : |
39
- {{ Dimension('dim__id') }} > 0
39
+ {{ Dimension('dim__id') }} > '2023-04-01'
40
40
- name : new_metric_with_window
41
41
label : " New cumulative Metric"
42
42
type : cumulative
Original file line number Diff line number Diff line change 9
9
{%- set values = [] - %}
10
10
11
11
{%- for node in nodes_list - %}
12
-
12
+
13
13
{%- set values_line =
14
14
[
15
15
wrap_string_with_quotes(node .unique_id ),
20
20
wrap_string_with_quotes(node .type ),
21
21
wrap_string_with_quotes(dbt .escape_single_quotes (node .label )),
22
22
wrap_string_with_quotes(node .package_name ),
23
- wrap_string_with_quotes(node .filter | tojson ),
23
+ wrap_string_with_quotes(dbt . escape_single_quotes (tojson( node .filter )) ),
24
24
wrap_string_with_quotes(node .type_params .measure .name ),
25
25
wrap_string_with_quotes(node .type_params .measure .alias ),
26
26
wrap_string_with_quotes(node .type_params .numerator | tojson),
You can’t perform that action at this time.
0 commit comments