Skip to content
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

Add unique_id column using surrogate_key #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

JDW818
Copy link
Owner

@JDW818 JDW818 commented Jul 22, 2019

Add unique_id column to customers table using surrogate_key function

@JDW818 JDW818 requested a review from eogilvy12 July 22, 2019 19:49
Copy link
Collaborator

@eogilvy12 eogilvy12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work! this is obviously not really needed here since the customer_id is already unique. however, I hope you understand how useful this can be for tables that we create/aggregate. maybe there is one row per customer per day and we need to input both the ('customer_id', day') to the function to create a unique_id to run tests on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants