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

DEDUP fails with KEEP 2, RIGHT

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Not specified
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Here is a self contained code that fails:

      Layout_Person := RECORD
      UNSIGNED1 PersonID;
      STRING15 FirstName;
      STRING25 LastName;
      END;

      allPeople := DATASET([

      {1,'Fred','Smith'}

      ,

      {2,'Joe','Smith'}

      ,

      {3,'Joe','Blow'}

      ,

      {4,'Jane','Smith'}

      ],Layout_Person);

      DEDUP(SORT(allPeople,LastName),LastName,KEEP 2, RIGHT);
      //dies with this error:
      //System error: 3000: Graph graph1[1], workunitwrite[5]: SLAVE #2 [10.173.248.3:20100]: assert(keepLeft || numToKeep == 1) failed ...

      Here is the discussion in the forum.
      https://hpccsystems.com/bb/viewtopic.php?f=8&t=2793

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                omnibuzz srini s
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: