Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between LIVE TABLE and STREAMING LIVE TABLE

When using DLT, we can create a live table with either STREAMING LIVE TABLE or LIVE TABLE, as written in the docs :

CREATE OR REFRESH { STREAMING LIVE TABLE | LIVE TABLE } table_name

What is the difference between the two syntaxes ?

like image 754
Will Avatar asked Mar 15 '26 08:03

Will


1 Answers

It's described in the documentation, on the Concepts' page.

A live table or view always reflects the results of the query that defines it, including when the query defining the table or view is updated, or an input data source is updated. Like a traditional materialized view, a live table or view may be entirely computed when possible to optimize computation resources and time.

A streaming live table or view processes data that has been added only since the last pipeline update. Streaming tables and views are stateful; if the defining query changes, new data will be processed based on the new query and existing data is not recomputed.

like image 103
Alex Ott Avatar answered Mar 18 '26 23:03

Alex Ott