You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "JaeHwa Jung (JIRA)" <ji...@apache.org> on 2013/10/08 19:18:51 UTC

[jira] [Commented] (TAJO-217) Implement to_timestamp function

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

JaeHwa Jung commented on TAJO-217:
----------------------------------

I applied the updated patch on the latest source version. But I failed 'mvn clean install' and I found the error message as follows:

{code:xml}

Results :

Failed tests:   testUnixTimestamp(org.apache.tajo.engine.function.TestDateTime): select to_timestamp(unix_timestamp(), 'yyyyMMddHH'); expected:<[2013100902]> but was:<[1970011708]>

Tests run: 374, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Tajo Main ......................................... SUCCESS [3.834s]
[INFO] Tajo Project POM .................................. SUCCESS [3.225s]
[INFO] Tajo Common ....................................... SUCCESS [10.030s]
[INFO] Tajo Algebra ...................................... SUCCESS [2.988s]
[INFO] Tajo Rpc .......................................... SUCCESS [17.553s]
[INFO] Tajo Catalog Common ............................... SUCCESS [3.227s]
[INFO] Tajo Catalog Client ............................... SUCCESS [0.911s]
[INFO] Tajo Catalog Server ............................... SUCCESS [4.254s]
[INFO] Tajo Core Storage ................................. SUCCESS [17.785s]
[INFO] Tajo Core PullServer .............................. SUCCESS [0.888s]
[INFO] Tajo Core Backend ................................. FAILURE [2:37.172s]
[INFO] Tajo Core ......................................... SKIPPED
[INFO] Tajo Catalog ...................................... SKIPPED
[INFO] Tajo Distribution ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:42.417s
[INFO] Finished at: Wed Oct 09 02:07:04 KST 2013
[INFO] Final Memory: 32M/123M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project tajo-core-backend: There are test failures.
[ERROR] 
[ERROR] Please refer to ~/tajo-core/tajo-core-backend/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :tajo-core-backend
{code}

> Implement to_timestamp function
> -------------------------------
>
>                 Key: TAJO-217
>                 URL: https://issues.apache.org/jira/browse/TAJO-217
>             Project: Tajo
>          Issue Type: New Feature
>          Components: operator/function/udf
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>             Fix For: 0.2-incubating
>
>         Attachments: TAJO-217_2.patch, TAJO-217.patch
>
>
> to_timestamp function converts an Unix epoch to a time stamp. We need to implement it.
> {code}
> to_timestamp(double precision)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)