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

Document nofold option?

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.0
    • Documentation
    • None

    Description

      Document the

      nofold

      flag. Example from

      when6c.ecl

      :

      ds := dataset([
      t(1,2,3,4),
      t(1,4,2,5),
      t(9,3,4,5),
      t(3,4,2,9)]);

      simple := dedup(nofold(ds), f1);
      output(simple);

      This flag, applied to almost any ECL construct (Gavin might know more), prevents the compiler to optimise the constructs during compile time. This is mainly used for tests, where you want to see the execution of the fully blown code, and avoid the compiler of silently disabling the test.

      Is this useful for use code?

      Attachments

        Activity

          People

            richardtaylorhpcc Richard Taylor
            rengolin Renato Golin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: