You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jinho Kim (JIRA)" <ji...@apache.org> on 2017/12/04 02:24:00 UTC

[jira] [Comment Edited] (TAJO-2186) TestResultSet.testDateTimeType fails in UTC timezone

    [ https://issues.apache.org/jira/browse/TAJO-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16276221#comment-16276221 ] 

Jinho Kim edited comment on TAJO-2186 at 12/4/17 2:23 AM:
----------------------------------------------------------

Thanks for your prepare work
{{Time}} class extends {{Date}} class, so it should consider a date.
I'll fix invalid unit case


was (Author: jhkim):
Thanks for your prepare work
{{Time}} class extends {{Date}} class, so it should be consider a date.
I'll fix invalid unit case

> TestResultSet.testDateTimeType fails in UTC timezone
> ----------------------------------------------------
>
>                 Key: TAJO-2186
>                 URL: https://issues.apache.org/jira/browse/TAJO-2186
>             Project: Tajo
>          Issue Type: Bug
>         Environment: Linux, Mac OS X
>            Reporter: Hyunsik Choi
>            Assignee: Jinho Kim
>             Fix For: 0.13.0
>
>
> Please see this travis log. TestResultSet.testDateTimeType failed. I looked into this issue. I found that this test fails if the timezone is UTC. You can reproduce as follows:
> {noformat}
> $ cd tajo-jdbc
> $ export TZ=UTC
> $ mvn test
> ...
> 2017-12-03 10:05:09,386 INFO: org.apache.tajo.catalog.store.DerbyStore (shutdown(75)) - Shutdown database
> Results :
> Failed tests: 
>   TestResultSet.testDateTimeType:243 expected: java.sql.Time<23:00:00> but was: java.sql.Time<23:00:00>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)