Stream - Windows

Event Centric Thinking

About

SQL Function - Window Aggregate (Analytics function) in Stream

Type

Two type:

  • streaming aggregation (tumbling windows).
  • windowed analytics (sliding windows).

Aggregation

Example: find the minimum and maximum each minute

Window

windowed analytics (sliding windows) (same as SQL Function - Window Aggregate (Analytics function) ?)

  • an output record (or row) is produced for each new input record.
  • an output record for each and every new input record for the specific PARTITION
  • Each field (or column) in the output record may be calculated using a different window or partition.
  • Windows definition can be time or row-based.

Example: find the minimum and maximum in the 60 second period prior to any given reading





Discover More
Stream Vs Batch
Stream vs Batch

This article talks Stream Processing vs Batch Processing. The most important difference is that: in batch processing the size (cardinality) of the data to process is known whereas in a stream processing,...
Event Centric Thinking
Streaming - SQL

continuous SQL query on an infinite data stream A streaming sql can not be ANSI SQL compliant because the streaming functions are not part of those database standards. A streaming query is a query that...
Event Centric Thinking
What is a Stream? Also known as Pipe, Message Queue or Event Processing

A stream is: a sequence of aninfinite cardinality (size) delivered atunknown time intervals. list Streams of data user activity on a website sensor readings from devices (IOT) order...
Counting Table
What is a Table in SQL?

A table is: a SQL object with a relational data structure (ie a relation) that stores data queryrelation The name comes from the Abacuscounting table (abacus) that was found in the medieval...



Share this page:
Follow us:
Task Runner