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:50 UTC
[hop] branch master updated: HOP-3073: fix Postgresql bulkload serialisation
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 9b3e9ba HOP-3073: fix Postgresql bulkload serialisation
new c81821d Merge pull request #1384 from hansva/master
9b3e9ba is described below
commit 9b3e9ba8b7a500ad2e3a0a15f341b444b0e5a9f4
Author: Hans Van Akelyen <ha...@gmail.com>
AuthorDate: Wed Feb 23 10:11:22 2022 +0100
HOP-3073: fix Postgresql bulkload serialisation
---
.../hop/pipeline/transforms/pgbulkloader/PGBulkLoaderMeta.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/plugins/transforms/pgbulkloader/src/main/java/org/apache/hop/pipeline/transforms/pgbulkloader/PGBulkLoaderMeta.java b/plugins/transforms/pgbulkloader/src/main/java/org/apache/hop/pipeline/transforms/pgbulkloader/PGBulkLoaderMeta.java
index 09b65f6..3714922 100644
--- a/plugins/transforms/pgbulkloader/src/main/java/org/apache/hop/pipeline/transforms/pgbulkloader/PGBulkLoaderMeta.java
+++ b/plugins/transforms/pgbulkloader/src/main/java/org/apache/hop/pipeline/transforms/pgbulkloader/PGBulkLoaderMeta.java
@@ -76,6 +76,7 @@ public class PGBulkLoaderMeta extends BaseTransformMeta
/** Field value to dateMask after lookup */
@HopMetadataProperty(
+ key = "mapping",
injectionGroupKey = "mapping",
injectionGroupDescription = "PGBulkLoader.Injection.Mapping.Label")
private List<PGBulkLoaderMappingMeta> mappings;
@@ -344,7 +345,9 @@ public class PGBulkLoaderMeta extends BaseTransformMeta
tableFields.addValueMeta(tableField);
} else {
throw new HopTransformException(
- "Unable to find field [" + mappings.get(i).getFieldStream() + "] in the input rows");
+ "Unable to find field ["
+ + mappings.get(i).getFieldStream()
+ + "] in the input rows");
}
}