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

operations #582

Closed
drewbanin opened this issue Nov 6, 2017 · 0 comments
Closed

operations #582

drewbanin opened this issue Nov 6, 2017 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@drewbanin
Copy link
Contributor

Add new CLI task, operation, which runs one-off sql commands. These operations could include table maintenance tasks or other one-off queries.

$ dbt run operation compress_table --schema snowplow --table events
$ dbt run operation vacuum_analyze --schema snowplow

Operations should be built just like macros. Some arguments should be required while others are optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant