You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2022/03/14 13:23:54 UTC

[hop] branch master updated: HOP-3847 close file on completion

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 74e22b7  HOP-3847 close file on completion
     new 638cdef  Merge pull request #1422 from cborealis/master
74e22b7 is described below

commit 74e22b7318fefd40a0bb5e79fcf515bb8a7c2a5b
Author: Alexander Schwab <al...@ti8m.ch>
AuthorDate: Mon Mar 14 13:34:44 2022 +0100

    HOP-3847 close file on completion
---
 .../org/apache/hop/pipeline/transforms/sqlfileoutput/SQLFileOutput.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/transforms/sqlfileoutput/src/main/java/org/apache/hop/pipeline/transforms/sqlfileoutput/SQLFileOutput.java b/plugins/transforms/sqlfileoutput/src/main/java/org/apache/hop/pipeline/transforms/sqlfileoutput/SQLFileOutput.java
index e2ec562..bcff64d 100644
--- a/plugins/transforms/sqlfileoutput/src/main/java/org/apache/hop/pipeline/transforms/sqlfileoutput/SQLFileOutput.java
+++ b/plugins/transforms/sqlfileoutput/src/main/java/org/apache/hop/pipeline/transforms/sqlfileoutput/SQLFileOutput.java
@@ -59,7 +59,7 @@ public class SQLFileOutput extends BaseTransform<SQLFileOutputMeta, SQLFileOutpu
 
     Object[] r = getRow(); // this also waits for a previous transform to be finished.
     if (r == null) { // no more input to be expected...
-
+      closeFile();
       return false;
     }
     if (first) {