Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-1629

Sleep() function does not work.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 0.10.2
    • Function/UDF
    • None

    Description

      Sleep() function only works well in unit tests.
      It seems that the following codes of Sleep() function make Tajo's task sleep.

      ...
      public Datum eval(Tuple params) {
          try {
            Thread.sleep(params.getInt4(0) * 1000);
          } catch (InterruptedException e) {
            e.printStackTrace();
          }
      ...
      

      Attachments

        Activity

          People

            jihoonson Jihoon Son
            jihoonson Jihoon Son
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: