[DOP-29593] Add more filters in GET /v1/runs endpoint#323
Merged
Conversation
624e58b to
ca81b4b
Compare
ca81b4b to
ea82d5b
Compare
ea82d5b to
077a1a0
Compare
077a1a0 to
40a8255
Compare
40a8255 to
9099274
Compare
9099274 to
cc9fa2e
Compare
TiGrib
approved these changes
Oct 2, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change Summary
Filter by
ended_atis quite effective is value range is small (e.g. 5-10 minutes), even if there is no index for this field in the table. Filter bystarted_atis added for symmetry.Also added filters
job_location_idandstarted_by_userto allows fetching only jobs started on specific cluster/host by specific users - this also reduces number of fetched runs.Related issue number
Checklist
docs/changelog/next_release/<pull request or issue id>.<change type>.rstfile added describing change(see CONTRIBUTING.rst for details.)