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

Treat ctx->getNodes() as pure within a workflow item

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4.0
    • Component/s: Code Generator
    • Labels:
      None

      Description

      ctx->getNodes() is treated as impure because different workflow items can be run on different size clusters. However within a workflow item it must use the same cluster, so at that point the function could be treated as pure.

      This would potentially optimize several queries.

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: