I'm trying to do an ADF file consolidator pipeline with dynamic column headers
I am trying to merge multiple files but lets just say its 2.
File A with 5 columns (Address Line 1, 2, 3, 4, 5)
File B with 7 columns (Address Line 1, 2, 3, 4, 5, Telephone Number, Mobile Number)
I expect the output file to have all 7 columns but those Number fields would be blank for rows that come in from File A.
My current solution I have a schema where I read source files with allow schema drift on, if I only get files that are like File B then all the data is there as expected but if any of the files are like File B the Telephone Number and Mobile Number fields are ALL empty/null even for the rows that had those populated in their initial file.