[ https://issues.apache.org/jira/browse/BEAM-8358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17121862#comment-17121862 ]
Kenneth Knowles commented on BEAM-8358: --------------------------------------- This issue is assigned but has not received an update in 30 days so it has been labeled "stale-assigned". If you are still working on the issue, please give an update and remove the label. If you are no longer working on the issue, please unassign so someone else may work on it. In 7 days the issue will be automatically unassigned. > Failing test in UTC+8 timezone > ------------------------------ > > Key: BEAM-8358 > URL: https://issues.apache.org/jira/browse/BEAM-8358 > Project: Beam > Issue Type: Bug > Components: io-java-jdbc > Reporter: Zoltan Kauker > Assignee: Zoltan Kauker > Priority: P2 > Labels: stale-assigned > Time Spent: 1h > Remaining Estimate: 0h > > The > [SchemaUtilTest.testBeamRowMapperDateTime()|https://github.com/apache/beam/blob/5a7bd66174e43ebedd6b5b4d7835e11309505b33/sdks/java/io/jdbc/src/test/java/org/apache/beam/sdk/io/jdbc/SchemaUtilTest.java#L227] > test case is failing because the *date_col* value is one day later than the > expected value. > The problem comes from > [SchemaUtil.createDateExtractor()|https://github.com/apache/beam/blob/5a7bd66174e43ebedd6b5b4d7835e11309505b33/sdks/java/io/jdbc/src/main/java/org/apache/beam/sdk/io/jdbc/SchemaUtil.java#L277]. > The implementation converts the date to ZonedDateTime first and then gets > the start time of the date. > Being in Singapore the timezone adjustments increments the day on the test > case's timestamp which leads to an assertion failure. -- This message was sent by Atlassian Jira (v8.3.4#803005)