From 7d681ab290c18e65917070542eee3b2504b0594c Mon Sep 17 00:00:00 2001 From: sramazzina Date: Wed, 22 Nov 2023 23:09:27 +0100 Subject: [PATCH] fix #3221 Excel Input eats incoming fields, but still passes the metadata for them downstream (as if they still exist) --- .../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 c2cfcce33e6..26a152fdf07 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 void getFields( 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) {