You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
part of our internal implementation is to draw distinction between the following:
relation: a data warehouse object that can be created, renamed, updated, dropped
materialization: the workflow by which dbt maps user-provided SELECT statement and configuration to a relation.
one goal of this refactor is that adapter maintainers need not concern themselves so much with implementing custom materializations. Instead just scaffold out the SQL API for CRUD operations on relations. In the case of materialized views, we also require information about:
the parameters users may provide
the format they may take so that we can make the minimal amount of changes should the existing relation already exist
what alter operations exist when configuration changes exist
@dataders are the required hooks shipped in 1.7.0 (or 1.7.1) despite dropping as an adapter requirement? In the next week or so I will probably be picking this back up.
Unfortunately we were not able to, as dbt-core assumes we can execute multiple sql statements in a single execution by using a semicolon...I believe this is coming, but isn't here yet, so had to roll our own materialization based on dbt-core's.
related to: #473
part of our internal implementation is to draw distinction between the following:
relation
: a data warehouse object that can be created, renamed, updated, droppedmaterialization
: the workflow by which dbt maps user-providedSELECT
statement and configuration to a relation.one goal of this refactor is that adapter maintainers need not concern themselves so much with implementing custom materializations. Instead just scaffold out the SQL API for CRUD operations on relations. In the case of materialized views, we also require information about:
The result is that the default materialization is both simple and adapter-extensible (see
core/dbt/include/global_project/macros/materializations/models/materialized_view.sql#L1-L22
)The text was updated successfully, but these errors were encountered: