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 2023/01/23 15:02:37 UTC

[hop] branch master updated: fix #2149: columnexists not working correctly

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 5aa12e71a0 fix #2149: columnexists not working correctly
     new 64b3681e91 Merge pull request #2181 from hansva/master
5aa12e71a0 is described below

commit 5aa12e71a0a619a13d5a40475d66796c2b9f2872
Author: Hans Van Akelyen <ha...@gmail.com>
AuthorDate: Mon Jan 23 15:26:11 2023 +0100

    fix #2149: columnexists not working correctly
---
 .../apache/hop/workflow/actions/columnsexist/ActionColumnsExist.java  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/plugins/actions/columnsexist/src/main/java/org/apache/hop/workflow/actions/columnsexist/ActionColumnsExist.java b/plugins/actions/columnsexist/src/main/java/org/apache/hop/workflow/actions/columnsexist/ActionColumnsExist.java
index 5bd24bdc5c..49b3da8b76 100644
--- a/plugins/actions/columnsexist/src/main/java/org/apache/hop/workflow/actions/columnsexist/ActionColumnsExist.java
+++ b/plugins/actions/columnsexist/src/main/java/org/apache/hop/workflow/actions/columnsexist/ActionColumnsExist.java
@@ -100,9 +100,7 @@ public class ActionColumnsExist extends ActionBase implements Cloneable, IAction
     this.schemaName = meta.schemaName;
     this.tableName = meta.tableName;
     this.databaseMeta = meta.databaseMeta;
-    for (ColumnExist column : meta.columns) {
-      columns.add(new ColumnExist(column.getName()));
-    }
+    this.columns = meta.columns;
   }
 
   @Override