Skip to content

Commit

Permalink
Fix typo in SQL server median macro (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
stumelius authored Nov 22, 2024
1 parent 17362c8 commit b99feb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/measures.sql
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ case when count(distinct {{ adapter.quote(column_name) }}) = count(*) then 1 els

{%- endmacro -%}

{%- macro sql_server__measure_median(column_name, data_type, cte_name) -%}
{%- macro sqlserver__measure_median(column_name, data_type, cte_name) -%}

{%- if dbt_profiler.is_numeric_dtype(data_type) and not dbt_profiler.is_struct_dtype(data_type) -%}
percentile_cont({{ adapter.quote(column_name) }}, 0.5) over ()
Expand Down

0 comments on commit b99feb6

Please sign in to comment.