Handle empty csv file with header
We have an integration reading a csv file and which goes on and creates HDL for loading data into HCM. Currently we are facing an issue when an empty csv file which just the header is sent from the source. Is there a way to handle this ?
One approach would be to read the file and check if there are any non header rows but that means we are reading the file twice.