可以在流分析工作中有多个查询吗?

ace*_*ana 5 t-sql analytics azure azure-stream-analytics cortana-intelligence

正如标题所述,您可以在Azure Streaming Analytics作业中拥有多个查询吗?如果是这样,那应该如何构建?

Vig*_*han 9

是的,您可以在流分析作业中拥有多个查询.你会做类似下面的事情

select * into type1Output from inputSource where type = 1
select * into type2Output from inputSource where type = 2
Run Code Online (Sandbox Code Playgroud)

该作业定义了两个输出,称为type1Output和type2Output.每个查询都写入不同的输出.