For exmaple, in the below picture, I want to change all "char" to "number", and the width from 200 to 20
.
For exmaple, in the below picture, I want to change all "char" to "number", and the width from 200 to 20
.
If you are replicating another dataset on your writer, you can use a dynamic writer which will automatically retain the field structure of the input data on your writer. Or, you can right click your reader and choose 'duplicate on writer', and/or 'copy attributes from reader/transformer' on the writer.
The way I obtained the screenshot above was by right clicking "copy attributes from transformer" - I don't know why it automatically assumed all my numbers where char type, which is why I thought I was missing something. Could I not somehow explicitly state that types of the attributes before I do the copy?
If a dynamic writer doesnt quite fit what you want to write out, you can also add your own fields that you create in the workspace, or remove fields.