Skip to content

Commit

Permalink
chore: format files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Oct 31, 2024
1 parent ed71f06 commit 738e258
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@ select
from enrollments
inner join
{{ DBT_PROFILE_TARGET_DATABASE }}.dim_user_pii as users
on (enrollments.actor_id like 'mailto:%' and SUBSTRING(enrollments.actor_id, 8) = users.email)
on (
enrollments.actor_id like 'mailto:%'
and SUBSTRING(enrollments.actor_id, 8) = users.email
)
or enrollments.actor_id = toString(users.external_user_id)
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ join
)
left outer join
{{ ASPECTS_EVENT_SINK_DATABASE }}.user_pii users
on (full_responses.actor_id like 'mailto:%' and SUBSTRING(full_responses.actor_id, 8) = users.email)
on (
full_responses.actor_id like 'mailto:%'
and SUBSTRING(full_responses.actor_id, 8) = users.email
)
or full_responses.actor_id = toString(users.external_user_id)

where 1 = 1 {% include 'openedx-assets/queries/common_filters.sql' %}
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ join
)
left outer join
{{ ASPECTS_EVENT_SINK_DATABASE }}.user_pii users
on (full_responses.actor_id like 'mailto:%' and SUBSTRING(full_responses.actor_id, 8) = users.email)
on (
full_responses.actor_id like 'mailto:%'
and SUBSTRING(full_responses.actor_id, 8) = users.email
)
or full_responses.actor_id = toString(users.external_user_id)
join
coursewide_attempts
Expand Down

0 comments on commit 738e258

Please sign in to comment.