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

Odd behavior using IF in ECL

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Not specified
    • Resolution: Cannot Reproduce
    • 9.0.0
    • None
    • Code Generator
    • None
    • Both bare-metal and Docker Desktop

    Description

      I tried to run this code:
      {{}}

      dstcluster := IF(__CONTAINERIZED__, 'dstcluster=data ','dstcluster=mythor '); 
      OUTPUT(dstcluster);

      1. It passes the syntax check in IDE, but fails the syntax check in VSCODE. 
      {{2. In IDE, if I submit it fails and says: Query is Empty. }}
         In VScode, it says 0003:  Definition must contain EXPORT or SHARED value for testENV_VAR-614779

      Attachments

        Activity

          People

            Unassigned Unassigned
            jamesdefabia Jim DeFabia
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: