Hello @Sven Peeters ,
Thanks for the question and using MS Q&A platform.
My understanding is that your CSV file structure is complex (the structure seems similar to EDI X12 format) and you would like to know if it is possible to read the CSV data and do transformation on data to achieve the desired data format.
To better assist on your query, I would like to get more understanding of the data structure as below:
- If
DETAIL
records will be a fixed number or it varies bySUBHEADER
- Is there a common naming for
SUBHEADER
or it is unique for eachSUBHEADER
I'm not sure at this moment if it will be possible with ADF, but definitely this will be a complex implementation.
Would request you to please share a sample source file (with dummy data) and the expected destination sink file which would help me to give a try on my end.
But for sure writing your own code in Azure Function would be the better approach for this requirement.
Will look forward to your response (sample files)
Thank you
Hello @Sven Peeters , thanks for your response and confirming on your approach as it would be helpful for other community members reading this thread. :)