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

NONEMPTY(a,[],b) optimization tests

    XMLWordPrintable

    Details

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

      Description

      Reading the code I think NONEMPTY(a, [], b) will be optimized to a, instead of NONEMPTY(a, b), because it is assuming that there can only be 2 arguments.

      NONEMPTY not used very often, especially with > 2 arguments, so unlikely to be causing issues in real 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: