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

fix: get_results returns none if table is empty #971

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

joseph-sentry
Copy link
Contributor

previously we were returning a table that had a bunch of null columns
this is actually due to us not having a strict schema on the worker side
but a good fix here anyways is to return None from get_results when
there's no data in the table

@joseph-sentry joseph-sentry requested a review from a team as a code owner November 12, 2024 18:02
previously we were returning a table that had a bunch of null columns
this is actually due to us not having a strict schema on the worker side
but a good fix here anyways is to return None from get_results when
there's no data in the table
Copy link

codecov bot commented Nov 12, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 96.03%. Comparing base (aa55f93) to head (e3cb633).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
utils/test_results.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #971      +/-   ##
==========================================
- Coverage   96.03%   96.03%   -0.01%     
==========================================
  Files         827      827              
  Lines       19071    19073       +2     
==========================================
+ Hits        18315    18316       +1     
- Misses        756      757       +1     
Flag Coverage Δ
unit 92.27% <50.00%> (-0.01%) ⬇️
unit-latest-uploader 92.27% <50.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codecov-notifications
Copy link

codecov-notifications bot commented Nov 12, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
utils/test_results.py 50.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Contributor

✅ All tests successful. No failed tests were found.

📣 Thoughts on this report? Let Codecov know! | Powered by Codecov

@joseph-sentry joseph-sentry added this pull request to the merge queue Nov 12, 2024
Merged via the queue into main with commit e044c7e Nov 12, 2024
27 of 29 checks passed
@joseph-sentry joseph-sentry deleted the joseph/fix-gql-bug branch November 12, 2024 18:42
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.

2 participants