This is an automated email from the ASF dual-hosted git repository.
usbrandon 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 7d681ab290 fix #3221 Excel Input eats incoming fields, but still
passes the metadata for them downstream (as if they still exist)
new 61dd414e36 Merge pull request #3447 from sramazzina/3221
7d681ab290 is described below
commit 7d681ab290c18e65917070542eee3b2504b0594c
Author: sramazzina <[email protected]>
AuthorDate: Wed Nov 22 23:09:27 2023 +0100
fix #3221 Excel Input eats incoming fields, but still passes the metadata
for them downstream (as if they still exist)
---
.../org/apache/hop/pipeline/transforms/excelinput/ExcelInputMeta.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/plugins/transforms/excel/src/main/java/org/apache/hop/pipeline/transforms/excelinput/ExcelInputMeta.java
b/plugins/transforms/excel/src/main/java/org/apache/hop/pipeline/transforms/excelinput/ExcelInputMeta.java
index c2cfcce33e..26a152fdf0 100644
---
a/plugins/transforms/excel/src/main/java/org/apache/hop/pipeline/transforms/excelinput/ExcelInputMeta.java
+++
b/plugins/transforms/excel/src/main/java/org/apache/hop/pipeline/transforms/excelinput/ExcelInputMeta.java
@@ -366,6 +366,10 @@ public class ExcelInputMeta extends
BaseTransformMeta<ExcelInput, ExcelInputData
IVariables variables,
IHopMetadataProvider metadataProvider)
throws HopTransformException {
+
+ // Clean the row if eventually is dirty
+ row.clear();
+
for (ExcelInputField field : fields) {
int type = field.getHopType();
if (type == IValueMeta.TYPE_NONE) {