Skip to content

c #83628

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

Closed
wants to merge 1 commit into from
Closed

c #83628

wants to merge 1 commit into from

Conversation

xurui-c
Copy link
Member

@xurui-c xurui-c commented Jan 17, 2025

Corrects #83566

When Snuba sends back AttributeValue of TYPE_DOUBLE and val_double, Sentry uses TYPE_MAP to resolve the column into TYPE_FLOAT for doubles, and will try to read val_float. This is unintended behavior.

There are 2 approaches:

  1. this PR
  2. fix(eap-api): Sentry distinguishes floats and doubles #83629

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 17, 2025
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

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

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/snuba/spans_rpc.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master   #83628   +/-   ##
=======================================
  Coverage   87.57%   87.58%           
=======================================
  Files        9492     9492           
  Lines      539110   539111    +1     
  Branches    21218    21218           
=======================================
+ Hits       472116   472163   +47     
+ Misses      66645    66599   -46     
  Partials      349      349           

@xurui-c xurui-c closed this Jan 17, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant