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

Data generation fails due to invalid records in ColdRoomTemperatures #1275

Open
Akaitatsu opened this issue Apr 9, 2024 · 1 comment
Open

Comments

@Akaitatsu
Copy link

I have schedule the data generator to run daily so I can have good demo data for our developers. It occasionally fails with the following error message which requires me to manually delete the invalid rows and reset all the temporal tables.

[SQLSTATE 01000] (Message 0) Setting SYSTEM_VERSIONING to ON failed because history table 'WideWorldImporters.Warehouse.ColdRoomTemperatures_Archive' contains invalid records with end of period set before start.

Here is the stored procedure call that I am using:

EXECUTE DataLoadSimulation.PopulateDataToCurrentDate @AverageNumberOfCustomerOrdersPerDay = 60,
                                                     @SaturdayPercentageOfNormalWorkDay = 50,
                                                     @SundayPercentageOfNormalWorkDay = 0,
                                                     @IsSilentMode = 1,
                                                     @AreDatesPrinted = 1;

I'll dig into the generation code and see if I can fix it since no one appears to be maintaining this project.

@abhishekup5338
Copy link

Hi @Akaitatsu assign this issue to me #1275.

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

No branches or pull requests

2 participants