You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 14:34:15 UTC

[GitHub] [beam] damccorm opened a new issue, #19951: Failing test in UTC+8 timezone

damccorm opened a new issue, #19951:
URL: https://github.com/apache/beam/issues/19951

   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.
   
   Imported from Jira [BEAM-8358](https://issues.apache.org/jira/browse/BEAM-8358). Original Jira may contain additional context.
   Reported by: Kauker.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] Abacn commented on issue #19951: Failing test in UTC+8 timezone

Posted by GitBox <gi...@apache.org>.
Abacn commented on issue #19951:
URL: https://github.com/apache/beam/issues/19951#issuecomment-1257340852

   .close-issue not_planned
   
   dup #22738


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] github-actions[bot] closed issue #19951: Failing test in UTC+8 timezone

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #19951: Failing test in UTC+8 timezone
URL: https://github.com/apache/beam/issues/19951


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org