New reply on DataCleaner's online discussion forum (https://datacleaner.org/forum):
Dennis replied to subject 'Need to give default values to a specific output file columns.' ------------------- Hi there, You should be able to use the Fuse/Coalesce transformer combined with a simple JavaScript transformer for that. The JavaScript transformer isn't actually doing much scripting, it's just returning the string you want, so even with zero JavaScript knowledge it is easy to set up. One quirk is that it must be connected to an input column to work, it doesn't matter which one (the value isn't used for anything). I've uploaded an example job here: [https://datacleaner.org/resources/public/coalesce.analysis.xml coalesce.analysis.xml] ... The JavaScript component shouldn't actually have been necessary, instead something like a Convert to string component with a value based column inside should have been enough, but the Fuse/Coalesce component doesn't seem to want to accept the value. I'll look into that. Best regards, Dennis ------------------- View the topic online to reply - go to https://datacleaner.org/topic/1147/Need-to-give-default-values-to-a-specific-output-file-columns. -- You received this message because you are subscribed to the Google Groups "DataCleaner-notify" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/datacleaner-notify. For more options, visit https://groups.google.com/d/optout.
