Skip to content

Commit cb19884

Browse files
authored
Update run_metric.sql
1 parent 3dcd8c1 commit cb19884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros/run_metric.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% macro run_metric(metric_name, grain, dimensions=[], start_date=None, end_date=None, secondary_calculations=[], format='json') %}
2-
{% set res = run_query("select * from " ~ metrics.calculate(metric(metric_name), grain, dimensions, secondary_calculations, start_date, end_date)) %}
2+
{% set res = run_query("select * from " ~ metrics.calculate(metric(metric_name), grain=grain, dimensions=dimensions, secondary_calculations=secondary_calculations, start_date=start_date, end_date=end_date)) %}
33

44
{% do log("<<<MAPI-BEGIN>>>", info=True) %}
55
{% if format == 'csv' %}

0 commit comments

Comments
 (0)