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

Move queries into named directories #294

Closed
fbertsch opened this issue Aug 14, 2019 · 0 comments · Fixed by #286
Closed

Move queries into named directories #294

fbertsch opened this issue Aug 14, 2019 · 0 comments · Fixed by #286

Comments

@fbertsch
Copy link
Collaborator

We will move each query into its appropriately named subdirectory, e.g. sql/search/search_clients_daily_v7.sql will move to sql/search/search_clients_daily_v7/query.sql.

The Airflow runner will have to be notified of this change as well.

Optional: Move view creation scripts to a view.sql file instead of query.sql.

We will also add a metadata.yaml file to every query subdirectory. There are currently only a few query writers so we should be able to appropriately fill-in owners, friendly_name, and description; optionally, some of the job descriptions can be put in labels, e.g. application, refresh, version, incremental.

For more details, see the public data proposal.

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

Successfully merging a pull request may close this issue.

1 participant