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: reports aggregation query to select sample_event and sample_response correctly #5360

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

itsmihir
Copy link
Contributor

Description

For warehouse module sample event will always be empty, we need to update the FILTER on ARRAY_AGG in reporting reports aggregation query to select samples response even if sample event is empty.

Linear Ticket

Resolves OBS-732
OBS-732: Fix reports aggregation query on rudder-server to handle empty sample event

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

Copy link
Contributor

@satishrudderstack satishrudderstack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should tests for these cases later

@itsmihir itsmihir changed the base branch from master to prerelease/1.39.0-rc.1 December 10, 2024 05:47
@itsmihir itsmihir changed the base branch from prerelease/1.39.0-rc.1 to release/1.39.x December 10, 2024 05:48
@itsmihir itsmihir enabled auto-merge (squash) December 10, 2024 06:36
@itsmihir itsmihir merged commit cd94dac into release/1.39.x Dec 10, 2024
56 checks passed
@itsmihir itsmihir deleted the fix.reports-agg-query branch December 10, 2024 06:44
Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.81%. Comparing base (f05fa25) to head (6c831c3).
Report is 1 commits behind head on release/1.39.x.

Additional details and impacted files
@@                Coverage Diff                 @@
##           release/1.39.x    #5360      +/-   ##
==================================================
+ Coverage           74.75%   74.81%   +0.06%     
==================================================
  Files                 437      437              
  Lines               61240    61240              
==================================================
+ Hits                45777    45819      +42     
+ Misses              12925    12881      -44     
- Partials             2538     2540       +2     

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

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