tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyunsik Choi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-445) testCastWithNestedFunctions causes unit test failure
Date Mon, 23 Dec 2013 01:32:50 GMT

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

Hyunsik Choi commented on TAJO-445:
-----------------------------------

I misunderstood this problem. This problem is caused by timezone. I'll submit new patch soon.

> testCastWithNestedFunctions causes unit test failure
> ----------------------------------------------------
>
>                 Key: TAJO-445
>                 URL: https://issues.apache.org/jira/browse/TAJO-445
>             Project: Tajo
>          Issue Type: Bug
>          Components: operator/expression
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>            Priority: Trivial
>             Fix For: 0.8-incubating
>
>         Attachments: TAJO-445.patch
>
>
> The direct comparison timestamp value and string in testSimpleEval can be failed in some
JVMs. This patch fixes the unit test failure.
> {noformat}
> Results :
> Failed tests:   testCastWithNestedFunction(org.apache.tajo.engine.eval.TestSQLExpression):
select to_timestamp(CAST(split_part('1386577650.123', '.', 1) as INT8)); expected:<1970-01-17
[10]:09:37> but was:<1970-01-17 [01]:09:37>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message