The random data generator used for tests repeats the same value over and over again
- 主要言語
- Java
- スター
- 3.1k
- フォーク
- 1.6k
- 平均マージ
- 3日 12時間
- マージ済み PR(30日)
- 33
説明
The RandomValues class returns references to its internal buffer as random values. This buffer gets a random value every time a new random value is requested, but since earlier values reference the same internal buffer, they get changed to the same value as well. So even if successive calls return different values each time, the actual list of these values will always consist of a single value repeated multiple times. For example:
|n-th call|returned value|accumulated list expected|accumulated list actual|
|
|-|-|-|-|-|
|1|6C|6C|6C|
|
|2|8F|6C 8F|8F 8F|
|
|3|52|6C 8F 52|52 52 52|
|
|4|B8|6C 8F 52 B8|B8 B8 B8 B8|
|
**Reporter**: [Zoltan Ivanfi](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=zi) / @zivanfi
#### PRs and other links:
- [GitHub Pull Request #504](https://github.com/apache/parquet-mr/pull/504)
**Note**: *This issue was originally created as [PARQUET-1353](https://issues.apache.org/jira/browse/PARQUET-1353). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず RandomValues クラスを見つけ、内部バッファをどのように返しているかを読んでください。既存の作業については Pull Request #504 を確認し、その後、蓄積されたランダム値が連続する呼び出し間でも重複せず、関連するテストがパスすることを検証してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- testing
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 30/100