Skip to content
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

On run end #3259

Open
mpcarter opened this issue Oct 16, 2024 · 0 comments
Open

On run end #3259

mpcarter opened this issue Oct 16, 2024 · 0 comments
Labels
Feature Adds new functionality

Comments

@mpcarter
Copy link
Contributor

Add feature similar to dbt's on-run-end and on-run-start functionality.
https://docs.getdbt.com/reference/project-configs/on-run-start-on-run-end

I think ideally it would allow some way to run macros or macro-enabled sql at the start and/or end of sqlmesh plan or sqlmesh run.
The most common use case to run any set up or wrap up code that is not specific to a single model.

E.g. granting usage to schemas.
UDFs used in multiple models.

@treysp treysp added the Feature Adds new functionality label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Adds new functionality
Projects
None yet
Development

No branches or pull requests

2 participants