Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: stonysmithCreate a static data node with just the column headers, no data rows:
ABC,DEF,GHI,JKL
Then use a CAT node to add that "empty" data to your input stream, and turn on the CAT option for ConcatenateType=Union
That way, even if the columns are missing from the input, the CAT will add them.
Note: you may need to set the data types to match the incoming data, something like this:
ABC:string,DEF:long,GHI:double,JKL:string