Closed hohmannr closed 3 months ago
FWIW. We are adding projections using post_hooks.
It works alright, But we get timeouts for materializing slow projections. ClickHouse exception: The read operation timed out
@BentsiLeviav Thanks for closing this so fast!
Is your feature request related to a problem? Please describe. It would be awesome if we could add projections to models, this is very helpful when using a semantic layer on top of the data marts, to facilitate and speed up querying for certain filters.
Describe the solution you'd like IMHO, the ideal solution would be to configure the projection as a
config
parameter (not sure though if dbt supports this):Describe alternatives you've considered The alternative that we use currently is using a migration script to put the projection on various models, after they have been built, which is not really nice, since the code creating a projection and the model are separate from each other and we need to take care that the database migrations are always up to date with the dbt models.