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 ensure calls to CAgg validation function #6808

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

jnidzwetzki
Copy link
Contributor

@jnidzwetzki jnidzwetzki commented Apr 7, 2024

The CAgg validation logic is quite complex. This PR adds two ensure() statements to the validation function to make it more clear (e.g., also for static code analyzers) that we expect a valid bucket function.


Disable-check: force-changelog-file

The CAgg validation logic is quite complex. This PR adds two ensure()
statements to the validation function to make it more clear (e.g., also
for static code analyzers) that we expect a valid bucket function.
@jnidzwetzki jnidzwetzki self-assigned this Apr 7, 2024
Copy link

codecov bot commented Apr 7, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 80.95%. Comparing base (59f50f2) to head (7682c39).
Report is 94 commits behind head on main.

Files Patch % Lines
tsl/src/continuous_aggs/common.c 0.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6808      +/-   ##
==========================================
+ Coverage   80.06%   80.95%   +0.88%     
==========================================
  Files         190      194       +4     
  Lines       37181    36855     -326     
  Branches     9450     9649     +199     
==========================================
+ Hits        29770    29835      +65     
- Misses       2997     3174     +177     
+ Partials     4414     3846     -568     

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

@jnidzwetzki jnidzwetzki marked this pull request as ready for review April 7, 2024 08:29
@jnidzwetzki jnidzwetzki merged commit a54a280 into timescale:main Apr 8, 2024
47 of 50 checks passed
@jnidzwetzki jnidzwetzki deleted the fix_coverity_cagg branch April 8, 2024 07:00
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.

3 participants