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

Reused sorting row loader loses stable sort flag

    XMLWordPrintable

    Details

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

      Description

      Where a IThorRowLoader/IThorRowCollector is reused in an activity (e.g. because in a child query), the stable sort flag is lost after the 1st use.
      When 1st requesting the sorted rows from the container, it swaps the internal loader's row array into a spillable stream container and in doing so, swaps in a unset stable sort flag.

      The fix is to ensure that the loader's row array is setup correctly when it is reset/reused.

        Attachments

          Activity

            People

            • Assignee:
              jakesmith Jake Smith
              Reporter:
              jakesmith Jake Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: