Forum Discussion
amardeep2021
4 years agoNew Contributor III
Any tips? Please help.
- del4 years agoContributor III
It seems possible to me that you have 30K empty rows in your input. If $a is an empty string, then your expression
isNaN(parseInt($a)) == true
will evaluate to true, thus passing the empty row to the output.Try adding a Filter snap (either after each of your CSV parsers or prior to Filter1) with the following Filter expression:
((a) => a.length)(jsonPath($,"$.*").join().replace(/,/g,"")) != 0
This filter should remove any empty rows before being processed downstream.