-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: add user vat id #940
Conversation
f874bd9
to
e44da2a
Compare
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.
The new field should also add to source file https://github.com/mitodl/ol-data-platform/blob/main/src/ol_dbt/models/staging/mitxpro/_mitxpro__sources.yml#L853
Other than small comment for field description, it looks good to me
@@ -944,6 +944,8 @@ models: | |||
description: string, user first name | |||
tests: | |||
- not_null | |||
- name: user_vat_id | |||
description: string, user vat id |
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.
Can we add some description on what user vat id is? I think its useful to document that.
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.
👍
What are the relevant tickets?
Closes mitodl/mitxpro#2762
Description (What does it do?)
Adds user vat id.
How can this be tested?
dbt build -s +stg__mitxpro__app__postgres__users_legaladdress --vars 'schema_suffix: asad' --target dev_production
dbt build -s +int__mitxpro__users --vars 'schema_suffix: asad' --target dev_production