浏览代码

HPCC-26124 The external.ecl and externalplane.ecl uses same file names and may clashes in parallel query mode.

Add WUID to filenames in external.ecl and externalplane.ecl

Tested localy in paralle query mode.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
Attila Vamos 4 年之前
父节点
当前提交
ede4987210
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      testing/regress/ecl/external.ecl
  2. 1 1
      testing/regress/ecl/externalplane.ecl

+ 1 - 1
testing/regress/ecl/external.ecl

@@ -9,7 +9,7 @@ ds := DATASET([{'a'}], rec);
 dropzonePath := File.GetDefaultDropZone() +'/' : STORED('dropzonePath');
 
 string getFName(string ext) := FUNCTION
- RETURN File.ExternalLogicalFileName('localhost', dropzonePath) + 'external' + ext;
+ RETURN File.ExternalLogicalFileName('localhost', dropzonePath)  + WORKUNIT + 'external' + ext;
 END;
 
 external1 := getFName('1');

+ 1 - 1
testing/regress/ecl/externalplane.ecl

@@ -27,7 +27,7 @@ ds := DATASET([{'a'}], rec);
 dropzone := 'mydropzone' : STORED('dropzone');
 
 string getFName(string ext) := FUNCTION
- RETURN '~PLANE::' + dropzone + '::' + 'external' + ext;
+ RETURN '~PLANE::' + dropzone + '::'  + WORKUNIT + 'external' + ext;
 END;
 
 external1 := getFName('1');