Skip to content

Commit 0cd3eaa

Browse files
author
Florian Eiden
authored
Update to latest illustrations
1 parent 2857422 commit 0cd3eaa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/stream-analytics/stream-analytics-window-functions.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,23 +151,23 @@ Will return:
151151
|WindowEndTime|Topic|Count|
152152
|-|-|-|
153153
|2021-10-26T10:15:09|Streaming|2|
154-
|2021-10-26T10:15:24|Streaming|3|
154+
|2021-10-26T10:15:24|Streaming|4|
155155
|2021-10-26T10:15:31|Streaming|2|
156156
|2021-10-26T10:15:39|Streaming|1|
157157

158158
## Snapshot window
159159

160160
[**Snapshot**](/stream-analytics-query/snapshot-window-azure-stream-analytics) windows group events that have the same timestamp. Unlike other windowing types, which require a specific window function (such as [SessionWindow()](/stream-analytics-query/session-window-azure-stream-analytics), you can apply a snapshot window by adding System.Timestamp() to the GROUP BY clause.
161161

162-
![Stream Analytics snapshot window](media/stream-analytics-window-functions/snapshot.png)
162+
![Stream Analytics snapshot window](media/stream-analytics-window-functions/stream-analytics-window-functions-snapshot-intro.png)
163163

164164
With the following input data (illustrated above):
165165

166166
|Stamp|CreatedAt|Topic|
167167
|-|-|-|
168-
|1|2021-10-26T10:15:05|Streaming|
169-
|2|2021-10-26T10:15:05|Streaming|
170-
|3|2021-10-26T10:15:05|Streaming|
168+
|1|2021-10-26T10:15:04|Streaming|
169+
|2|2021-10-26T10:15:04|Streaming|
170+
|3|2021-10-26T10:15:04|Streaming|
171171
|...|...|...|
172172

173173
The following query:
@@ -182,10 +182,10 @@ Will return:
182182

183183
|WindowEndTime|Topic|Count|
184184
|-|-|-|
185-
|2021-10-26T10:15:05|Streaming|4|
185+
|2021-10-26T10:15:04|Streaming|4|
186186
|2021-10-26T10:15:10|Streaming|2|
187187
|2021-10-26T10:15:13|Streaming|1|
188-
|2021-10-26T10:15:20|Streaming|2|
188+
|2021-10-26T10:15:22|Streaming|2|
189189

190190
## Next steps
191191
* [Introduction to Azure Stream Analytics](stream-analytics-introduction.md)

0 commit comments

Comments
 (0)