Hi @Mike Kiser ,
According to the specification, I think you are trying to create a fixed length file. In this case, you can do the following (please see the screenshots attached):
- add a derived column just before the sink activity
- in the derived column, have a column e.g., outputPerLine with concat() function with all the output fields. concat(
toString(col1),
toString(col2),
toString(col3),
toString(col4),
toString(col5),
toString(col6),
toString(col7),
toString(col8),
toString(col9)
) - in the sink Dataset Schema have only one column outputPerLine
- and finally in the sink, do the mapping outputPerLine from the derived column to the sink->dataset
- also for fixedLength file dont forget to use lpad()/rpad() function.e.g., iif(isNull(col1),
lpad('0',9,'0'),
lpad(col1, 9, '0')
)
----------
If the above response helps, please "accept as answer" and "up-vote" the same! Thanks!