Data generation fails due to invalid records in ColdRoomTemperatures
まだ誰も着手していません。
評価
調査の方向性
レポートで説明されている DataLoadSimulation.PopulateDataToCurrentDate プロシージャと Warehouse.ColdRoomTemperatures_Archive 履歴テーブルから始めます。スケジュールされた呼び出しを再現し、無効な期間のレコードがどのように生成されるかを調査し、行を手動で削除したりテンポラル テーブルをリセットしたりせずに呼び出しが完了することを確認します。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- PowerShell
- スター
- 11.2k
- フォーク
- 9.1k
- 平均マージ
- 2日 7時間
- マージ済み PR(30日)
- 14
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/sql-server-samples のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
microsoft/sql-server-samples#1499 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
microsoft/sql-server-samples#1495 · リアクション 3 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
microsoft/sql-server-samples#1341 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 64/100
microsoft/sql-server-samples#276 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 35/100
microsoft/sql-server-samples#1497 ·
microsoft/sql-server-samples の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
TencentCloud/Octop#1128 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
silverstripe/silverstripe-framework#12022 · コメント 2 件 ·