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

Optimize datsetfromrow(select-row(single-row-dataset, 1))

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Timed Out
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Code Generator
    • Labels:

      Description

      x1 := aggregate(ds); // always generates a single row.
      x2 := x1[1];
      x3 := dataset(x2);

      Can be replaced with x1 - simplifying the expression tree, and probably allowing other optimizations.

        Attachments

          Activity

            People

            • Assignee:
              anybody Available for anyone
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: