-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add materialized view materialization #260
Conversation
8054838
to
b1b3f0d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a general remark, please base yourself on to the experimental mv code from dbt.
dbt/include/trino/macros/materializations/materialized_view.sql
Outdated
Show resolved
Hide resolved
91ca038
to
0c61310
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implementation LGTM. Some minor remarks about tests.
tests/functional/adapter/materialization/test_materialized_view.py
Outdated
Show resolved
Hide resolved
tests/functional/adapter/materialization/test_materialized_view.py
Outdated
Show resolved
Hide resolved
tests/functional/adapter/materialization/test_materialized_view.py
Outdated
Show resolved
Hide resolved
tests/functional/adapter/materialization/test_materialized_view.py
Outdated
Show resolved
Hide resolved
tests/functional/adapter/materialization/test_materialized_view.py
Outdated
Show resolved
Hide resolved
tests/functional/adapter/materialization/test_materialized_view.py
Outdated
Show resolved
Hide resolved
0c61310
to
0e1c6ba
Compare
4d7a67b
to
e43ab96
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Please add docs.
Additonal question, does this also support setting properties
in the model definition?
e1c4cde
to
373660b
Compare
373660b
to
83eb39c
Compare
dbt/include/trino/macros/materializations/materialized_view.sql
Outdated
Show resolved
Hide resolved
dbt/include/trino/macros/materializations/materialized_view.sql
Outdated
Show resolved
Hide resolved
83eb39c
to
a1d99f2
Compare
Co-Authored-By: Jay-code0 <[email protected]>
a1d99f2
to
fe11938
Compare
Add materialized view materialization