Forum Discussion
RoyB
4 years agoNew Contributor III
Thanks for the try, but it didn’t work.
I modified my pipeline to use your method, and it does the same thing.
The incoming document has a format of:
6 columns
33 columns (multiple rows)
6 columns
And then somewhere between the csv formatter and the File Write it turns into
6 columns
33 columns (multiple Rows)
33 columns
- alchemiz4 years agoContributor III
If you already have a flatten data and want to filter out objects that has a null value, try using the filter method in the root object
Expression Target Path $.filter((val,key)=> !(val instanceof Null)) $