Skip to content

Commit

Permalink
Fix regression with cardinality equality when field names are different
Browse files Browse the repository at this point in the history
Resolves a bug introduced in dbt-labs#310
  • Loading branch information
Sterling Paramore committed May 17, 2021
1 parent 489a44b commit 21850b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/schema_tests/cardinality_equality.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ select
{{ field }},
count(*) as num_rows
from {{ to }}
group by {{ column_name }}
group by {{ field }}
),

except_a as (
Expand Down

0 comments on commit 21850b2

Please sign in to comment.