MaterializeInc / demos

Demos of Materialize, the operational data warehouse.
https://materialize.com
Apache License 2.0
50 stars 8 forks source link

dbt-getting-started: materialized tests #31

Closed ahelium closed 2 years ago

ahelium commented 2 years ago

Adjusted to demonstrate using dbt test --store-failures to create materialized views. (etl pipeline alerting) Also included an alert view to show how easy it is to create a canonical alert template to be consumed by something downstream.

morsapaes commented 2 years ago

Would this be better suited as a standalone demo than an add-on to the getting started? Or, it could be part of the same demo, but maybe branch out the continuous testing part (basically, running dbt test) into a second phase that comes after folks have gone through the entry-level workflow? To avoid mixing it all up.

ahelium commented 2 years ago

I'd really like to include continuous testing here, since we do it differently and folks will probably want to make materialized views from tests even as they are developing to help see what is happening. Folks should always run dbt test with dbt run regardless of backend database.

morsapaes commented 2 years ago

Yeah, let's do it; I'll take another look soon so we can merge this in!