Skip to content

Commit

Permalink
style: Sqlfmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bmtcril committed May 30, 2024
1 parent 0cc17dc commit 230ed54
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ with
from {{ DBT_PROFILE_TARGET_DATABASE }}.fact_enrollment_status enrollment
inner join
{{ ASPECTS_EVENT_SINK_DATABASE }}.course_names as course_names
-- Need to cast the course key to a string here otherwise the
-- course_names dictionary throws this:
-- Key type for complex key at position 0 does not match, expected String, found LowCardinality(String).
on course_names.course_key = enrollment.course_key::String
-- Need to cast the course key to a string here otherwise the
-- course_names dictionary throws this:
-- Key type for complex key at position 0 does not match, expected String,
-- found LowCardinality(String).
on course_names.course_key = enrollment.course_key::String
where 1 = 1 {% include 'openedx-assets/queries/common_filters.sql' %}
)

Expand Down

0 comments on commit 230ed54

Please sign in to comment.