Skip to content

Commit e90be94

Browse files
authored
Update stream-analytics-troubleshoot-query.md
1 parent 56d4c47 commit e90be94

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

articles/stream-analytics/stream-analytics-troubleshoot-query.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: sidram
66
ms.reviewer: mamccrea
77
ms.service: stream-analytics
88
ms.topic: conceptual
9-
ms.date: 12/07/2018
9+
ms.date: 03/27/2020
1010
ms.custom: seodec18
1111
---
1212

@@ -29,19 +29,23 @@ This article describes common issues with developing Stream Analytics queries an
2929
- A [**CAST**](https://docs.microsoft.com/stream-analytics-query/cast-azure-stream-analytics) function fails, causing the job to fail. To avoid type cast failures, use [**TRY_CAST**](https://docs.microsoft.com/stream-analytics-query/try-cast-azure-stream-analytics) instead.
3030
- When you use window functions, wait for the entire window duration to see an output from the query.
3131
- The timestamp for events precedes the job start time and, therefore, events are being dropped.
32+
- **JOIN** condition not matching: If there are no matches then there will be zero output.
3233

3334
5. Ensure event ordering policies are configured as expected. Go to the **Settings** and select [**Event Ordering**](stream-analytics-out-of-order-and-late-events.md). The policy is *not* applied when you use the **Test** button to test the query. This result is one difference between testing in-browser versus running the job in production.
3435

3536
6. Debug by using audit and diagnostic logs:
3637
- Use [Audit Logs](../azure-resource-manager/resource-group-audit.md), and filter to identify and debug errors.
3738
- Use [job diagnostic logs](stream-analytics-job-diagnostic-logs.md) to identify and debug errors.
3839

39-
## Job is consuming too many Streaming Units
40+
## Resource utilization is high
41+
4042
Ensure you take advantage of parallelization in Azure Stream Analytics. You can learn to [scale with query parallelization](stream-analytics-parallelization.md) of Stream Analytics jobs by configuring input partitions and tuning the analytics query definition.
4143

4244
## Debug queries progressively
4345

44-
In real-time data processing, knowing what the data looks like in the middle of the query can be helpful. Because inputs or steps of an Azure Stream Analytics job can be read multiple times, you can write extra SELECT INTO statements. Doing so outputs intermediate data into storage and lets you inspect the correctness of the data, just as *watch variables* do when you debug a program.
46+
In real-time data processing, knowing what the data looks like in the middle of the query can be helpful. You can see this using the job diagram in Visual Studio. If you don't have Visual Studio, you can take additional steps to output intermediate data.
47+
48+
Because inputs or steps of an Azure Stream Analytics job can be read multiple times, you can write extra SELECT INTO statements. Doing so outputs intermediate data into storage and lets you inspect the correctness of the data, just as *watch variables* do when you debug a program.
4549

4650
The following example query in an Azure Stream Analytics job has one stream input, two reference data inputs, and an output to Azure Table Storage. The query joins data from the event hub and two reference blobs to get the name and category information:
4751

0 commit comments

Comments
 (0)