Skip to content

Commit

Permalink
q_date_recent: fix an Athena error due to a missing type cast
Browse files Browse the repository at this point in the history
  • Loading branch information
mikix committed Jun 24, 2024
1 parent af0e852 commit 8dbe786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cumulus_library_data_metrics/base.summary.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ CREATE TABLE data_metrics__{{ metric }}_summary AS (
{% if summary_info["stratifier"] %}
'{{ summary_info["stratifier"] }}' AS {{ stratifier_column }},
{% else %}
NULL AS {{ stratifier_column }},
CAST(NULL AS VARCHAR) AS {{ stratifier_column }},
{% endif %}
numerator,
denominator,
Expand Down

0 comments on commit 8dbe786

Please sign in to comment.