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

Add computation job queue queries #362

Merged
merged 2 commits into from
Oct 1, 2024
Merged

Add computation job queue queries #362

merged 2 commits into from
Oct 1, 2024

Conversation

jimmymathews
Copy link
Collaborator

@jimmymathews jimmymathews commented Oct 1, 2024

This PR adds load_query.sql and load_query_breakdown.sql. These query for the number of computation jobs in the queue, and the same number but broken down by dataset, respectively. They require the database to be formatted in the new "schema-oriented" way, to come with #358.

One can download these queries directly from the git repository, but they can also be dumped to the terminal with an spt command:

spt db load-query --all
spt db load-query --breakdown-by-dataset

@jimmymathews jimmymathews merged commit bfce45d into main Oct 1, 2024
@jimmymathews jimmymathews deleted the crossquery branch October 3, 2024 02:29
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 this pull request may close these issues.

1 participant