I have a situation where I am using Data Flows to ingest data from Blob Storage. The file format is CSV, however some files are comma delimited and some are pipe delimited.
It is possible to parameterise the delimiter of the dataset itself in ADF.
However in the Dataflow activity the Source Settings do not provide the option to either dataset parameters or change the delimiter.
It's not even possible to parameterise the choice of dataset. This means that I have to create a new Dataflow for each delimiter which is not practical.
I tried this and it works well.
Source dataset parameter setting, add parameter ColDelimiter
:
Create a pipeline parameter ColDelimiter
:
Then click the Data Flow, we can set the source parameter:
When run the pipeline, we could set the column delimiter from paramter:
Hope this helps.