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

Allow out of line functions to use inline dataset operations

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 8.10.0
    • Code Generator
    • None

    Description

      It should be possible to have something like

       

      myFunc(dataset(rec) x, string y ) := DEFINE count(x(value = y));
      

      To common up mutliple calls to the same function - e.g., see getValue() in klogemann58.eclxml

      At the moment it generates a thor graph, which is not going to work in the majority of cases.  Avoiding spotting the thor boundaries should fix that, but breaks other existing (werid) examples.

       

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: