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

Std.File.SprayXXX() unable to create .::<name> logical file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 7.0.6
    • Fix Version/s: None
    • Component/s: DFU Server
    • Labels:
      None
    • Compatibility:
      Minor

      Description

      When spraying a file via ECL Watch, if you do not set a "Target Scope" value then the resulting logical file will have a '.::' prefix. This behavior (creating a file with that self scope prefix) cannot be duplicated when using Std.File.SprayXXX() functions.

      The expected behavior is to be able to spray files with the resulting logical filenames containing self scope prefixes when required.

      Attempted function calls and their results (as comments) are as follows:

      Std.File.SprayDelimited
          (
              '10.211.55.15',
              '/var/lib/HPCCSystems/mydropzone/source_file.csv',
              destinationgroup := 'mythor',
              destinationlogicalname := 'source_file.csv',
              recordStructurePresent := TRUE,
              encoding := 'utf8'
          ); // thor::source_file.csv
      
      Std.File.SprayDelimited
          (
              '10.211.55.15',
              '/var/lib/HPCCSystems/mydropzone/source_file.csv',
              destinationgroup := 'mythor',
              destinationlogicalname := 'foo::source_file.csv',
              recordStructurePresent := TRUE,
              encoding := 'utf8'
          ); // thor::foo::source_file.csv
      
      Std.File.SprayDelimited
          (
              '10.211.55.15',
              '/var/lib/HPCCSystems/mydropzone/source_file.csv',
              destinationgroup := 'mythor',
              destinationlogicalname := '~foo::source_file.csv',
              recordStructurePresent := TRUE,
              encoding := 'utf8'
          ); // foo::source_file.csv
      
      Std.File.SprayDelimited
          (
              '10.211.55.15',
              '/var/lib/HPCCSystems/mydropzone/source_file.csv',
              destinationgroup := 'mythor',
              destinationlogicalname := '~.::foo::source_file.csv',
              recordStructurePresent := TRUE,
              encoding := 'utf8'
          ); // foo::source_file.csv
      
      Std.File.SprayDelimited
          (
              '10.211.55.15',
              '/var/lib/HPCCSystems/mydropzone/source_file.csv',
              destinationgroup := 'mythor',
              destinationlogicalname := '.::foo::source_file.csv',
              recordStructurePresent := TRUE,
              encoding := 'utf8'
          ); // thor::foo::source_file.csv
      

        Attachments

          Activity

            People

            • Assignee:
              attilavamos Attila Vamos
              Reporter:
              dcamper Dan S. Camper
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: