You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2013/12/23 02:32:50 UTC
[jira] [Commented] (TAJO-445) testCastWithNestedFunctions causes
unit test failure
[ 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)