Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
T 12902 optimize macro instead of on run end (#1106)
Instead of having multiple OPTIMIZE commands running on-run-end, I just implemented a macro that I attach to the weekly job, as well as the newly created "Manually Deploy New Version" job :) <img width="1350" alt="Capture d’écran 2022-06-01 à 13 13 59" src="https://user-images.githubusercontent.com/66172107/171393092-0559e939-cf65-46c5-99dd-06cf16d64e09.png"> I've checked that: * [ ] I tested the query on dune.com after compiling the model with dbt compile (compiled queries are written to the target directory) * [ ] I used "refs" to reference other models in this repo and "sources" to reference raw or decoded tables * [ ] the directory tree matches the pattern /sector/blockchain/ e.g. /tokens/ethereum * [ ] if adding a new model, I added a test * [ ] the filename is unique and ends with .sql * [ ] each file has only one view, table or function defined * [ ] column names are `lowercase_snake_cased`
- Loading branch information