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

Incorrect handling of VIRTUAL(FILEPOSITION)?

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: Code Generator
    • Labels:
      None

      Description

      afarrell1.eclxml illustrated an interesting issue

       

       
      r := RECORD
         STRING x;
         UNSIGNED filepos{virtual(fileposition)};
      END;
      ds := DATASET('x', r, thor);
      p := ds(x != '') : PERSIST('noblanks');
      p(filepos < 1000);
       
      

       

      That should be executing the filter against filepositions in 'x', not in 'noblanks', but it appears like it may be using noblanks instead.  Investigate further.

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: