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

Improve constant percolation for no_if

    Details

    • Type: Improvement
    • Status: Accepted
    • Priority: Not specified
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Code Generator
    • Labels:

      Description

      IF(cond, dataset, NULL/FAIL/omitted)

      If the RHS of an IF can never return any records - it is either empty, or will always create a failure, then it should be legal to percolate constants from dataset through the graph.

      I think there are several examples where this would improve the code.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: