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.

Item Summary
System.Timestamp() System.Timestamp() is a system property that can be used to retrieve the event’s timestamp.
TIMESTAMP BY 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.

See Also

Built-in Functions (Azure Stream Analytics)
Data Types (Azure Stream Analytics)
Event Delivery Guarantees(Azure Stream Analytics)