As the title says, can you have more than one query in an Azure Streaming Analytics job? If so, how should that be structured?
Asked
Active
Viewed 4,474 times
1 Answers
17
yes, you can have multiple queries in stream analytics job. You would do something like below
select * into type1Output from inputSource where type = 1
select * into type2Output from inputSource where type = 2
The job has two outputs defined, called type1Output and type2Output. Each query writes to a different output.

chhantyal
- 11,874
- 7
- 51
- 77

Vignesh Chandramohan
- 1,306
- 10
- 15
-
1How about writing to the same output? For example, there is a web application in which user can create alerts in realtime and those alerts should be processed by same output. – iAviator Sep 13 '21 at 12:29