Just a thought (I've never had this exact problem): I would try an
experiment with cascading Source.unfoldResource[Async] stages.
1. The first unfold stage would extract the CSV headers. This would use CSV
resource description that's little more than a FileReader.
2. The second unfold stage would
Hi all,
I have the following problem, I need to parse CSV files where the heade
lines are not a fixed number, i.e. a file could have an header with three
lines and another with five lines for example.
At the same time I need to parse the header to extract the information I
need to parse