[DOP-22579] Return statistics in GET /runs#159
Merged
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #159 +/- ##
===========================================
+ Coverage 92.82% 93.04% +0.22%
===========================================
Files 180 182 +2
Lines 3956 4115 +159
Branches 269 277 +8
===========================================
+ Hits 3672 3829 +157
- Misses 222 224 +2
Partials 62 62 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This was referenced Feb 12, 2025
IlyasDevelopment
approved these changes
Feb 13, 2025
7030c89 to
56b4e22
Compare
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
Changed the response schema of
GET /runsto include inputs, outputs and operations statistics. This is useful to show in list of runs within job, or to hide "Operations" tab at RunShow page.Don't change response for lineage, as it includes inputs & outputs are distinct relations.
Also I haven't included statistics of child runs because its value depends on since+until range, and calculating the total number of child runs can be expensive as there is no filter against
run.created_atwhich is partitioning column.Related issue number
Checklist
docs/changelog/next_release/<pull request or issue id>.<change type>.rstfile added describing change(see CONTRIBUTING.rst for details.)