Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-17692

ecl run loses warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4.0
    • Component/s: ecl command
    • Labels:
      None

      Description

      This took ages to work out. If I submit the following query

      #option ('gatherDependencies', true);
      ds := DATASET([1,2], {unsigned id});
      output(ds);
      #warning ('warning');
      

      using

      ecl run hthor temp.ecl --ecl-only -s=.
      

      The resulting workunit does not contain any warnings even though they are reported. If I use

      eclplus query @temp.ecl server=. cluster=hthor
      

      then they are correctly retained.

      Richard pointed out there is a call to clearExceptions() in CWsEclBinding::submitWsEclWorkunit which is possibly the cause.

        Attachments

          Activity

            People

            • Assignee:
              afishbeck Anthony Fishbeck
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: