17
- January
2020
Posted By : Alexander Goida
Siddhi: Update partially in-memory table

is a language which belongs to the group of Streaming SQL languages, offering SQL-like approach to process data streams. This short code snippet shows one of the basics scenarios when you need to update in-memory partially or create a new record. The sample is build using scenario of calculating a total per some ID.

This example was tested in Editor tool of WSO2 Stream Processor.

Clarification about joining of a table with original stream. The table itself cannot produce any stream and it needs some triggering mechanism. In current case I’m using incommig stream as the triggering for generating the output stream.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.