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/02/23 09:33:53 UTC

[hop] branch master updated: Fix wrong condition for partition mode of transform

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 5d104a5  Fix wrong condition for partition mode of transform
     new 4ccc5e0  Merge pull request #1383 from shlxue/master
5d104a5 is described below

commit 5d104a5a18bda44047a52c722e7c9399358c30f3
Author: Shl Xue <xu...@gmail.com>
AuthorDate: Wed Feb 23 12:17:03 2022 +0800

    Fix wrong condition for partition mode of transform
---
 .../src/main/java/org/apache/hop/pipeline/transform/BaseTransform.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/engine/src/main/java/org/apache/hop/pipeline/transform/BaseTransform.java b/engine/src/main/java/org/apache/hop/pipeline/transform/BaseTransform.java
index c168cf2..eeb046f 100644
--- a/engine/src/main/java/org/apache/hop/pipeline/transform/BaseTransform.java
+++ b/engine/src/main/java/org/apache/hop/pipeline/transform/BaseTransform.java
@@ -1979,7 +1979,7 @@ public class BaseTransform<Meta extends ITransformMeta, Data extends ITransformD
 
     // If the source transform is partitioned but this one isn't, throw an error
     //
-    if (transformMeta.isPartitioned() && !sourceTransformMeta.isPartitioned()) {
+    if (!transformMeta.isPartitioned() && sourceTransformMeta.isPartitioned()) {
       throw new HopTransformException(
           "The info transform to read data from called ["
               + sourceTransformMeta.getName()