Brendan Ferris
03/13/2024, 10:35 PMon-run-end hooks that I want to run after the elementary hooks run. Might be a silly question, but does anyone know how I would achieve this?
22:30:56 1 of 2 START hook: my_dbt.on-run-end.0 ....................................... [RUN]
22:31:06 1 of 2 OK hook: my_dbt.on-run-end.0 .......................................... [SCRIPT (4.7 GiB processed) in 10.25s] --I want these to run last.
22:31:16 2 of 2 START hook: elementary.on-run-end.0 ..................................... [RUN]
22:31:16 2 of 2 OK hook: elementary.on-run-end.0 ........................................ [OK in 0.00s]
22:31:16Ofek Weiss
03/21/2024, 11:58 AMdbt level, there i no way to do such a thing, package hooks will always run after after the project hooks, you could do something like:
dbt run/test/build ... && dbt run-operation my_awesome_end_hook
but that will lose the results context