[
https://issues.apache.org/jira/browse/TAJO-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14587028#comment-14587028
]
ASF GitHub Bot commented on TAJO-1629:
--------------------------------------
Github user jihoonson commented on the pull request:
https://github.com/apache/tajo/pull/591#issuecomment-112227861
@blrunner thanks for your review, but I'll close this PR.
I think that we should find a better solution rather than this way because
this patch will create a new thread per row and per sleep() function.
Honestly, I forgot to withdraw this PR. Very sorry.
> 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)