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


##########
plugins/transforms/sqlfileoutput/src/main/java/org/apache/hop/pipeline/transforms/sqlfileoutput/SQLFileOutputMeta.java:
##########
@@ -104,6 +108,12 @@ public class SQLFileOutputMeta extends 
BaseTransformMeta<SQLFileOutput, SQLFileO
   @HopMetadataProperty(key = "StartNewLine")
   private boolean startNewLine;
 
+  @HopMetadataProperty(groupKey = "fields", key = "field")
+  private List<SQLFileOutputField> sqlFileOutputFields = new ArrayList<>();
+
+  @HopMetadataProperty(key = "specifyFields")
+  private boolean specifyFields;

Review Comment:
   Right.. That was only handled at runtime. i ve added getSqlRowMeta() in the 
meta, used by processRow, getSqlStatements and check. analyseImpact applies the 
same selection and rename, but skips unknowns fields instead of failing. Added 
unit tests too.



-- 
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