[Java] JDBC test failures for Windows build with timezone != UTC
- 主要言語
- Java
- スター
- 94
- フォーク
- 152
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 11
説明
Run "mvn install" in the java directory on a system with timezone set to PST (Pacific Standard, 8 hours behind UTC).
For the arrow-jdbc module, the following errors occur:
`[INFO]`
`[INFO] Results:`
`[INFO]`
`[ERROR] Failures:`
`[ERROR] JdbcToArrowDataTypesTest.testJdbcToArrowValues:146->testDataSets:209 expected:<45935000> but was:<74735000>`
`[ERROR] JdbcToArrowDataTypesTest.testJdbcToArrowValues:146->testDataSets:213 expected:<1518439535000> but was:<1518468335000>`
`[ERROR] JdbcToArrowDataTypesTest.testJdbcToArrowValues:146->testDataSets:205 expected:<-365> but was:<-364>`
`[ERROR] JdbcToArrowNullTest.testJdbcToArrowValues:123->testDataSets:165->testAllVectorValues:209 expected:<17574> but was:<17573`
`>`
`[ERROR] JdbcToArrowTest.testJdbcToArrowValues:138->testDataSets:206 expected:<17574> but was:<17573>`
`[ERROR] JdbcToArrowVectorIteratorTest.testJdbcToArrowValuesNoLimit:107->validate:199->assertDateDayVectorValues:277 expected:<17`
`574> but was:<17573>`
`[ERROR] JdbcToArrowVectorIteratorTest.testJdbcToArrowValues:95->validate:199->assertDateDayVectorValues:277 expected:<17574> but`
` was:<17573>`
`[INFO]`
`[ERROR] Tests run: 93, Failures: 7, Errors: 0, Skipped: 0`
**Environment**: Windows 10, Java 8
**Reporter**: [Bob Tinsman](https://issues.apache.org/jira/browse/ARROW-11957) / @bobtins
**Note**: *This issue was originally created as [ARROW-11957](https://issues.apache.org/jira/browse/ARROW-11957). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
コントリビューションガイド
調査の方向性
Windows 10 でタイムゾーンを PST に設定し、java ディレクトリから "mvn install" を実行してから、失敗している arrow-jdbc のテスト(JdbcToArrowDataTypesTest、JdbcToArrowNullTest、JdbcToArrowTest、JdbcToArrowVectorIteratorTest)を調査します。報告された 7 件のタイムゾーン依存の失敗が発生しなくなり、モジュールのテストが成功すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- databases, testing
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100