currently I am trying to read and unpivot csv-files with unknown column names on Microsoft Azure. Therefor I am using a Data Factory with two data lake analytics activities: The first activity generates a script to read and unpivot the data and the second avtivity is just the execution of this script. My problem is, that sometimes the generated scripts from the first activity are too big
"The provided U-SQL script is 6449969 bytes long, which exceeds the size limit of 2097152 bytes."
My idea was to split them, but I think that it is not possible to run more than 1 script in 1 activity. Since I dont know in how many party the script would be devided I cannot just add a fix number of activities.
Any suggestions?