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

[feat] Allow scoping session-based DB queries by time #3403

Merged
merged 4 commits into from
Mar 16, 2025

Conversation

vkarak
Copy link
Contributor

@vkarak vkarak commented Feb 26, 2025

This PR extends the syntax of session filters by prepending a time period component. This will limit the session query only in the requested time period therefore reducing considerably the query times for large databases. Here's an example syntax:

--list-stored-sessions='now-1d:now?foo=="bar"'

Implementation-wise, the QuerySelector has to change from a pure union type to a type that accommodates all possible valid query combinations.

Closes #3342.

@vkarak vkarak added prio: normal reporting Issues related to reporting and processing the test results labels Feb 26, 2025
@vkarak vkarak added this to the ReFrame 4.8 milestone Feb 26, 2025
@vkarak vkarak self-assigned this Feb 26, 2025
@vkarak vkarak enabled auto-merge March 16, 2025 13:24
@vkarak vkarak merged commit b7d86b1 into reframe-hpc:develop Mar 16, 2025
37 checks passed
@vkarak vkarak deleted the feat/extend-session-select-syntax branch March 17, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prio: normal reporting Issues related to reporting and processing the test results
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Extend the ? session selection syntax with support for time periods
2 participants