I have multiple U-SQL scripts and I am using filename variable at the top of each U-SQL script. Is there any way we can define input and output folder to any config file and read that variable, constant or any thing to use them with Extract
and OUTPUT
@tab1 =
EXTRACT f1 string,
f2 string
FROM **<path from config file>**
USING Extractors.Csv(skipFirstNRows:1);
It is possible to run parameterised U-SQL queries using Azure Data Factory as per here and here. Example start of pipeline where input and output folders are parameterised:
You could read your config file when deploying the ADF job, eg using Powershell.