Skip to content

Commit

Permalink
fix: reduce suf cols to only those used
Browse files Browse the repository at this point in the history
  • Loading branch information
cbini committed Jul 1, 2024
1 parent e2ad9d7 commit e713409
Showing 1 changed file with 22 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
{{
dbt_utils.union_relations(
relations=[
source("kippnewark_powerschool", model.name),
source("kippcamden_powerschool", model.name),
source("kippmiami_powerschool", model.name),
]
with
union_relations as (
{{
dbt_utils.union_relations(
relations=[
source("kippnewark_powerschool", model.name),
source("kippcamden_powerschool", model.name),
source("kippmiami_powerschool", model.name),
]
)
}}
)
}}

select
studentsdcid,
fleid,
newark_enrollment_number,
infosnap_id,
infosnap_opt_in,
media_release,
rides_staff,
is_504,
from union_relations

0 comments on commit e713409

Please sign in to comment.