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

Document __OPTION__(legacy[(true/false)])

    XMLWordPrintable

    Details

    • Compatibility:
      Major

      Description

      In 7.0 the way disk files are projected has been changed.

      A new flag has been added to disk reads and indexes to control whether the new or old method of translating file formats is used.  It is primarily used for testing.

      Occasionally if a dataset contains an alien data type and the results are projected it may be necessary to add

       

      __OPTION__(LEGACY)
      

      to a dataset definition.  (The compiler will report an error message indicating that the option is required.)

       

      d := dataset('imgfile', { rawLayout x, unsigned8 _fpos{virtual(fileposition)} }, FLAT, __OPTION__(legacy)); 
      

       

        Attachments

          Activity

            People

            Assignee:
            jamesdefabia Jim DeFabia
            Reporter:
            ghalliday Gavin Halliday
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: