Skip to content

Commit

Permalink
Fix minor_subclass join in `qc.vw_ic_reference_all_towns_com_bldg_d…
Browse files Browse the repository at this point in the history
…etail` (#692)
  • Loading branch information
jeancochrane authored Dec 27, 2024
1 parent 56ddbd5 commit 800c0d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ LEFT JOIN {{ source('iasworld', 'pardat') }} AS pardat
LEFT JOIN {{ ref('ccao.commercial_major_subclass') }} AS major_subclass
ON comdat.user12 = major_subclass.code
LEFT JOIN {{ ref('ccao.commercial_minor_subclass') }} AS minor_subclass
ON comdat.user12 = minor_subclass.code
ON comdat.user13 = minor_subclass.code
WHERE comdat.cur = 'Y'
AND comdat.deactivat IS NULL
AND pardat.class NOT BETWEEN '200' AND '299'

0 comments on commit 800c0d6

Please sign in to comment.