ADF - Excel compression

Ryan Abbey 1,186 Reputation points
2021-06-23T00:09:34.85+00:00

I want to set up a copy pipeline to allow dynamic processing of files, some of our files have been compressed and some haven't. With flat files, if there's no compression, then providing a null value suffices, however, in Excel, this generates an error "Object reference not set to an instance of an object."

Anyone managed to get around this (that doesn't involve having two copy activities...)?

PS For MS should you listen... in your "help" files on Excel, for range it states "- A3: reads a table starting from the given cell, dynamically detects all the rows below and all the columns to the right". This is not true, it generates an error 'Index was outside the bounds of the array.'.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.