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

Inconsistent results caused by internal optimization gone wrong

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: Code Generator
    • Labels:
      None

      Description

      I’m getting different results on the same environment/cluster from one run to another.  

      Boca_ProdGit

      W20180501-123511 – uid_results has 10 records

      W20180501-123620 – I added some additional outputs to see a few intermediate steps, ran again, now uid_results has 3 records

      Gavin started looking at it. It looks like an internal optimization is going wrong.  The work around is to add NOCOMBINE to prevent that optimization occurring.

       Two potential places:

       MEOW_Biz.ecl(73):

        export RR2 := PROJECT(RR20,AdjustScores(LEFT));

      change to

        export RR2 := NOCOMBINE(PROJECT(RR20,AdjustScores(LEFT)));

      Alternatively, InsuranceHeader_xLink\Process_xIDL_Layouts.ecl(653)

        RETURN SORT(GROUP(R2,Reference,ALL),-weight,DID);

      Change to

        RETURN SORT(GROUP(NOCOMBINE(R2),Reference,ALL),-weight,DID);

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              janderson Janet Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: