Clean package repo for Gitea installs via packages.yml git URL. Co-authored-by: Cursor <cursoragent@cursor.com>
8 lines
272 B
SQL
8 lines
272 B
SQL
{% macro f2dq_metric_distinct_table_rows(context) %}
|
|
with temp_table AS (
|
|
select distinct * from {{ context.table_name }}
|
|
where {{ in_time_window(context.time_filter) }}
|
|
)
|
|
select coalesce(count(*), 0) FROM temp_table
|
|
{% endmacro %}
|