Materialize v0.67
v0.67.0
Sources and sinks
-
Support upserts in the output of
SUBSCRIBEvia the newENVELOPE UPSERTclause. This clause allows you to specify aKEYthat Materialize uses to interpret the rows as a series of inserts, updates and deletes within each distinct timestamp. The output rows will have the following structure:SUBSCRIBE mview ENVELOPE UPSERT (KEY (key)); mz_timestamp | mz_state | key | value -------------|----------|------|-------- 100 | upsert | 1 | 2 100 | upsert | 2 | 4
SQL
-
Add
mz_internal.mz_compute_dependenciesto the system catalog. This table describes the dependency structure between each compute object (index, materialized view, or subscription) and the sources of its data. -
Improve the output of
EXPLAIN { OPTIMIZED | PHYSICAL } PLAN FOR MATERIALIZED VIEWto return the plan generated at object creation time, rather than the plan that would be generated if the object was created with the current catalog state. -
Add support for
TABLEexpressions, which retrieve all rows from the named SQL table.
Bug fixes and other improvements
-
Extend
pg_catalogandinformation_schemasystem catalog coverage for compatibility with Power BI. -
Increase in precision for the
AVG,VAR_*, andSTDDEV*functions.