jbs-atolcd commented on code in PR #8782:
URL: https://github.com/apache/hop/pull/8782#discussion_r4217179235


##########
plugins/transforms/sqlfileoutput/src/main/java/org/apache/hop/pipeline/transforms/sqlfileoutput/SQLFileOutput.java:
##########
@@ -68,8 +72,35 @@ public boolean processRow() throws HopException {
       first = false;
       data.outputRowMeta = getInputRowMeta().clone();
       meta.getFields(data.outputRowMeta, getTransformName(), null, null, this, 
metadataProvider);
-      data.insertRowMeta = getInputRowMeta().clone();
+      if (meta.isSpecifyFields()

Review Comment:
   Agreed, an empty selection now fails with an explicit error, at runtime and 
in check / the SQL button.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to