We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b1b9ec commit cd3eed8Copy full SHA for cd3eed8
macros/unpack/get_metric_values.sql
@@ -9,7 +9,7 @@
9
{%- set values = [] -%}
10
11
{%- for node in nodes_list -%}
12
-
+
13
{%- set values_line =
14
[
15
wrap_string_with_quotes(node.unique_id),
@@ -20,7 +20,7 @@
20
wrap_string_with_quotes(node.type),
21
wrap_string_with_quotes(dbt.escape_single_quotes(node.label)),
22
wrap_string_with_quotes(node.package_name),
23
- wrap_string_with_quotes(node.filter | tojson),
+ wrap_string_with_quotes(dbt.escape_single_quotes(tojson(node.filter))),
24
wrap_string_with_quotes(node.type_params.measure.name),
25
wrap_string_with_quotes(node.type_params.measure.alias),
26
wrap_string_with_quotes(node.type_params.numerator | tojson),
0 commit comments