This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git


The following commit(s) were added to refs/heads/main by this push:
     new e31d1a21a6 Allow Internal.Transform.CopyNr in cubeinput, fixes #5531 
(#5888)
e31d1a21a6 is described below

commit e31d1a21a6a50c59991f2a35f85b28a4d32aa2fa
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Fri Oct 24 12:30:25 2025 +0200

    Allow Internal.Transform.CopyNr in cubeinput, fixes #5531 (#5888)
---
 .../org/apache/hop/pipeline/transforms/cubeinput/CubeInputMeta.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/plugins/transforms/cubeinput/src/main/java/org/apache/hop/pipeline/transforms/cubeinput/CubeInputMeta.java
 
b/plugins/transforms/cubeinput/src/main/java/org/apache/hop/pipeline/transforms/cubeinput/CubeInputMeta.java
index 8cb6851906..f0e1816ed1 100644
--- 
a/plugins/transforms/cubeinput/src/main/java/org/apache/hop/pipeline/transforms/cubeinput/CubeInputMeta.java
+++ 
b/plugins/transforms/cubeinput/src/main/java/org/apache/hop/pipeline/transforms/cubeinput/CubeInputMeta.java
@@ -99,7 +99,9 @@ public class CubeInputMeta extends 
BaseTransformMeta<CubeInput, CubeInputData> {
     GZIPInputStream fis = null;
     DataInputStream dis = null;
     try {
-      InputStream is = 
HopVfs.getInputStream(variables.resolve(file.getName()));
+      InputStream is =
+          HopVfs.getInputStream(
+              
variables.resolve(file.getName().replace("${Internal.Transform.CopyNr}", "0")));
       fis = new GZIPInputStream(is);
       dis = new DataInputStream(fis);
 

Reply via email to