You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/05/28 08:03:18 UTC

[jira] [Commented] (TAJO-1629) Sleep() function does not work.

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

ASF GitHub Bot commented on TAJO-1629:
--------------------------------------

GitHub user jihoonson opened a pull request:

    https://github.com/apache/tajo/pull/591

    TAJO-1629: Sleep() function does not work.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jihoonson/tajo-2 TAJO-1629

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/591.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #591
    
----
commit f068e10faba5641b516dcd8a16d158d1f2bca84b
Author: Jihoon Son <ji...@apache.org>
Date:   2015-05-28T06:02:29Z

    TAJO-1629

----


> Sleep() function does not work.
> -------------------------------
>
>                 Key: TAJO-1629
>                 URL: https://issues.apache.org/jira/browse/TAJO-1629
>             Project: Tajo
>          Issue Type: Bug
>          Components: function/udf
>            Reporter: Jihoon Son
>            Assignee: Jihoon Son
>            Priority: Minor
>             Fix For: 0.10.2
>
>
> Sleep() function only works well in unit tests.
> It seems that the following codes of Sleep() function make Tajo's task sleep.
> {code}
> ...
> public Datum eval(Tuple params) {
>     try {
>       Thread.sleep(params.getInt4(0) * 1000);
>     } catch (InterruptedException e) {
>       e.printStackTrace();
>     }
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)