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

Generate dummy data - Fix data generation bug (NULL variationid) #843

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

bttf
Copy link
Contributor

@bttf bttf commented Dec 15, 2022

While testing the dummy data, I noticed that not all experiments from the experiments_viewed table were being represented in Growthbook. There are five total, however the app would only pick up two of them. After some digging, I discovered we were storing variation IDs of 0 as NULL in postgres. This PR fixes the code to respect 0 when converting to a CSV.

Before

Screen Shot 2022-12-15 at 4 26 51 PM

Screen Shot 2022-12-15 at 5 03 33 PM

After

Screen Shot 2022-12-15 at 5 18 16 PM

Screen Shot 2022-12-15 at 5 18 10 PM

@bttf bttf requested review from jdorn and a team December 15, 2022 22:31
@bttf bttf merged commit 1fb5be3 into main Dec 15, 2022
@bttf bttf deleted the AC/fix-gen-data-variationid branch December 15, 2022 23:45
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