In a U-SQL script invoked by an Azure data factory Pipeline, I have this statement to define an input file for my procedure:
DECLARE @inputpattern_csv string = "/FOLDER/" + @year.ToString() + @month.ToString().PadLeft(2, '0') + "{daynum:}_ex1.csv";
The procedure has always worked, but now when I run it, it returns this error:
E_CSC_USER_INVALIDFILESETPATTERN: Invalid file set pattern 'daynum:' in 'adl://**************.azuredatalakestore.net/FOLDER/201904{daynum:}_ex1.csv'
And the error output on Azure Data Factory is the following:
{
"errorCode": "2703",
"message": "Error Id: E_CSC_USER_INVALIDFILESETPATTERN, Error Message: Invalid file set pattern 'daynum:' in 'adl://**************.azuredatalakestore.net/FOLDER/201904{daynum:}_ex1.csv'.. ",
"failureType": "UserError",
"target": "U-sql Activity"
}
Is a consequence of the update to Azure Data Lake Storage Gen2? How I can solve it?
Thanks