Does Azure Data Lake Analytics and U-SQL support use While or For to Loop and create multiple outputs? I want output to multiple files using one USQL execution.
This is what i want:
Foreach @day in @days
@dataToSave =
SELECT day AS day,
company AS Company,
FROM @data
WHERE @day = @day
@out = @day + ".txt"
OUTPUT @dataToSave
TO @out
USING Outputters.Text();
Next
I know i can use a powershell, but i think that will cost performance prepairing the execution.