Skip to content

Commit 21850b2

Browse files
author
Sterling Paramore
committed
Fix regression with cardinality equality when field names are different
Resolves a bug introduced in dbt-labs#310
1 parent 489a44b commit 21850b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros/schema_tests/cardinality_equality.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ select
2525
{{ field }},
2626
count(*) as num_rows
2727
from {{ to }}
28-
group by {{ column_name }}
28+
group by {{ field }}
2929
),
3030

3131
except_a as (

0 commit comments

Comments
 (0)