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

TABLE w/ MERGE and computed group-by doesn't DISTRIBUTED MERGE

    XMLWordPrintable

    Details

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

      Description

      If MERGE option on TABLE and group-by field is computed, it appears the DISTRIBUTE MERGE is generated without the fieldvalue parameter for the MERGE option in DISTRIBUTE and shows as HASH DISTRIBUTE.

        DISTRIBUTE(HASH32(_unnamed_1, internal), merge));

      versus this when using a discrete field:

        DISTRIBUTE(HASH32(fieldvalue, internal), merge*(fieldvalue)*);

      The resulting aggregation is incorrect, not consolidated as expected.

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              tonymkirk Tony Kirk
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: