Time Management (Azure Stream Analytics)
Azure Stream Analytics query language extends SQL syntax to enable complex computations over streams of events. Stream Analytics provides language constructs to deal with the temporal aspects of the data. For example, it is possible to assign custom timestamps to the stream events, specify time window for aggregations, specify allowed time difference between two streams of data for JOIN operation, etc.
All time handling operations in Azure Stream Analytics are in UTC.
|System.Timestamp() is a system property that can be used to retrieve the event’s timestamp.
|The TIMESTAMP BY clause allows specifying custom timestamp values.
|Time Skew Policies
|Policies for Out of Order and Late Arrival Events.
|Aggregate functions over time window
|Aggregate functions are used to perform a calculation on a set of values from a time window and return a single value.
|DATEDIFF in JOIN predicate
|Specify time boundaries for JOIN operations
|Date and Time functions
|Stream Analytics provides a variety of date and time functions for use.