-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create dim_platform model #1364
Conversation
src/ol_dbt/seeds/platforms.csv
Outdated
2,edX.org,MIT Online courses on edX.org,www.edx.org | ||
3,MIT xPRO,MIT Professional development courses and programs that build skills and augment careers,xpro.mit.edu | ||
4,MITx Residential,MITx Residential,lms.mitx.mit.edu | ||
5,MIT Bootcamps,MIT Bootcamps, bootcamp.odl.mit.edu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pdpinch Do you have any suggestions on the platform_description
?
I grabbed some text from https://openlearning.mit.edu/, but it needs some editing
Should we include OCW? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. One thing is should the platform id be a numeric data type? Usually numeric types are better for id's for size and speed reasons. And does the platform info in the csv match the info coming form the applications?
@KatelynGit Thanks for the review.
Sure. I added OCW although we don't include OCW into the combined mart. It's good to have that in place.
I believe we have discussed this in RFC https://github.com/mitodl/hq/pull/5749#discussion_r1805182430
Can you say more about this? Not sure if I understand what you asking. |
Thanks for adding OCW.
ok yes a hash key makes sense
I just meant for things like the platform names this new table lists the platform as "MIT xPRO" but in the marts it is displayed differently like "xPro" in marts__combined__orders etc. Do you think we should change it to match what we have in the marts or applications currently? |
Thank you for clarifying that. For clarity, I intended to spell out Unless we hardcoded the platform name somewhere on the superset dataset, this new value should flow to the mart and dashboard without any side effects. I can match it to what we currently have if needed. I believe these platform names are just for display and filtering. |
ok that sounds good! I'll go in and approve |
What are the relevant tickets?
#1353
Description (What does it do?)
Creating
dim_platform
seeded by a csv fileHow can this be tested?
dbt build --select +dim_platform