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/22 08:08:50 UTC

[jira] [Created] (TAJO-445) testCastWithNestedFunctions causes unit test failure

Hyunsik Choi created TAJO-445:
---------------------------------

             Summary: 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)