fskorgen commented on issue #7045:
URL: https://github.com/apache/hop/issues/7045#issuecomment-4310977434
If we move the separator and enclosure configuration back into the
setDefault function, the problem should be resolved, as this ensures the
expected default values are consistently applied during initialization
E.g.:
public TextFileOutputMeta() {
super();
fileSettings = new FileSettings();
outputFields = new ArrayList<>();
createParentFolder = true;
separator = ""; // moved to setDefault - ";"
enclosure = ""; // moved to setDefault - "\""
enclosureForced = false;
enclosureFixDisabled = false;
headerEnabled = true;
footerEnabled = false;
fileFormat = "DOS";
setFileCompression(fileCompressionTypeCodes[FILE_COMPRESSION_TYPE_NONE]);
}
@Override
public void setDefault() {
separator = ";";
enclosure = "\"";
}
--
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]