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

Bad result for GROUP aggregate with nested record in output

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.2, 5.4.6
    • Fix Version/s: 6.0.0
    • Component/s: Code Generator
    • Labels:
      None
    • Environment:
      local VM running 5.4.2, dataland running 5.4.6

      Description

      In the attached ECL the result should be empty.

      I believe this is problem due to the nested record (which contains a variable length field) in the TABLE. Normally a variable length field before the aggregate would generate a compile error but the compiler seems to be missing it here.

      If the nested record is changed to use a fixed length field the results are correct. The results are also correct if the aggregates are moved before the nested record in the TABLE.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ghalliday Gavin Halliday
                Reporter:
                eblood66 Eric Blood
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: