Reputation: 1997
I have configured a Stream Analytics Jobs so that input data goes to an Azure Data Lake repository every hour.
Sometimes there is no event to track, so no output. But my Data Factory goes in error because the file doesn't exist.
I wonder if exist a way to force empty file out from Stream Analytics?
Many thanks!
Upvotes: 0
Views: 405
Reputation: 1997
Find the way to do it...
I had an activity using the data lake analytics, what I do is to run an U-SQL than read data with no transformation and write it to the output with headers.
In that way the activity always write an output file!
Very easy!
Upvotes: 0
Reputation: 1179
Are you using ADF v2?
I didn't find anything inbuilt in ADF to come up with it. But I can see few workarounds - starting from simplest one:
Upvotes: 0
Reputation: 737
You can look at our common query patterns here. In particular I think you can use the one named "fill missing values" to generate some events regularly, even when there is no input. Let me know if it works for you.
Thanks!
JS
Upvotes: 1