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

std.file.sprayVariable and "No Separator"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: None
    • Labels:
      None

      Description

      If you execute the following one would expect it to function with equivalently to checking "No Separator" within the ECL Watch interface. However it defaults to a comma as the separator.

      std.file.sprayVariable('192.168.80.131','/var/lib/HPCCSystems/mydropzone/Test1.csv',8192,'',,,'mythor','~in::testing',-1,'http://192.168.80.131:8010/FileSpray',,True);

      It is documented that the following will default to a comma as the separator.

      std.file.sprayVariable('192.168.80.131','/var/lib/HPCCSystems/mydropzone/Test1.csv',8192,,,,'mythor','~in::testing',-1,'http://192.168.80.131:8010/FileSpray',,True);

      There should be a way to spray through code and specify a "no separator" spray of a variable file. It would also be nice to have the documentation updated to include how to spray a variable file with "no separator"

        Attachments

          Activity

            People

            • Assignee:
              attilavamos Attila Vamos
              Reporter:
              jchambers-ln jchambers-ln (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: