Forum Discussion

ayush_vipul's avatar
ayush_vipul
New Contributor III
6 years ago

Writing flat file

Hi Team

For my current use case, I need to write a flat-file.

I am using the following pipeline to write csv.

Input to JSON formatter is a document of arrays each having different no of properties.

Can you please suggest a way to generate CSV file ignoring all null values and writing only what is present?
Note - Each input document to CSV formatter has different set of properties.
Thanks in advance

5 Replies

    • ayush_vipul's avatar
      ayush_vipul
      New Contributor III

      @del Thanks.

      This helps us achieve what we we looking for.

      Best Regards
      Ayush

    • sshaik's avatar
      sshaik
      New Contributor III

      After trying this scenario. I want read that file and send the data to AWS.But, I’m getting same thing again in the Fixed width Parser