title: Azure stream Analytics Query to send output to different targets
body: <p>We are using Azure stream analytics to read messages from IOT Hub and write to Azure data lake store. The input to the stream analytics job is in JSON format and output should be in CSV format.In stream analytics we have created multiple output data sinks which point to different directories in Azure data lake store. Based on one the fields in the input JSON string we have to convert the input to CSV and write into the respective output data sink. How do we achieve this in stream analytics query?</p>