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

Error message when building index for dataset that is not in key order

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: EclAgent, Thor
    • Labels:
      None

      Description

      Code like the following generates an invalid index (which can loop forever when it is actually used), but no warning/error is generated.

       

      ds := DATASET(100, TRANSFORM({ unsigned id }, SELF.id := HASH(COUNTER)));
      i := INDEX(ds, { id }, {}, 'i1', SORTED);
      build(i); 
      

      May require a flag/hint from the code generator?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shamser Shamser Ahmed
                Reporter:
                ghalliday Gavin Halliday
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: