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

Misleading warning issued when explicitly defining a LOOKUP join that has a index as a RHS

    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

      e.g.:

      j : = JOIN(lhsds, anindex(KEYED(key=1)), LEFT.key=RIGHT.key, LOOKUP);
      

      In this case the user wants a lookup join and wants a keyed index read and gets it, but a warning/suggestion is issued:

      warning C2309: Filtered RIGHT prevents a keyed join being used.  Consider including the filter in the join condition.
      

        Attachments

          Activity

            People

            • Assignee:
              shamser Shamser Ahmed
              Reporter:
              jakesmith Jake Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: