Skip to content

Commit

Permalink
refactor: make enrollment_status a low cardinality field
Browse files Browse the repository at this point in the history
  • Loading branch information
SoryRawyer committed Oct 20, 2023
1 parent cc037d9 commit c9a6ef5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def upgrade():
course_run String,
actor_id String,
enrollment_mode LowCardinality(String),
enrollment_status String
enrollment_status LowCardinality(String)
) ENGINE = {engine}
PRIMARY KEY (org, course_key)
ORDER BY (org, course_key, actor_id, enrollment_mode, enrollment_status, emission_time)
Expand Down

0 comments on commit c9a6ef5

Please sign in to comment.