Skip to content

fix: Fix query splitting by column#410

Merged
lynnagara merged 1 commit into
masterfrom
fix-query-split
Aug 13, 2019
Merged

fix: Fix query splitting by column#410
lynnagara merged 1 commit into
masterfrom
fix-query-split

Conversation

@lynnagara

Copy link
Copy Markdown
Member

This fixes a bug with query splitting by column, where the set of
results would be incorrect if offset > 0.

We always need to remove the offset term when performing the second query
since we are adding various conditions that already restrict the results
to the exact set of events we want to return.

This fixes a bug with query splitting by column, where the set of
results would be incorrect if offset > 0.

We always need to remove the offset term when performing the second query
since we are adding various conditions that already restrict the results
to the exact set of events we want to return.
@lynnagara
lynnagara requested a review from a team August 13, 2019 01:00
Comment thread tests/test_api.py
})).data)

assert len(result['data']) == 10
assert [e['tags[sentry:release]'] for e in result['data']] == list(map(str, reversed(range(0, 10))))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

@lynnagara
lynnagara merged commit fa81da8 into master Aug 13, 2019
@lynnagara
lynnagara deleted the fix-query-split branch August 13, 2019 01:19
phacops pushed a commit that referenced this pull request Jun 10, 2026
## Bump sentry-conventions to 0.11.0

Updates `sentry-conventions` from 0.10.0 to
[0.11.0](https://github.com/getsentry/sentry-conventions/releases/tag/0.11.0).

### Changes in 0.11.0

**New Features**
- Add `session.id` attribute (#412)
- Update several attributes to latest OTel representation (#418)
- Add `db.operation.batch.size` (#407)
- Add `app.vitals.start.prewarmed` attribute (#379)
- Add and deprecate runtime context attributes (#383)
- Add Android Runtime (ART) GC and memory attributes (#382)
- Add `db.stored_procedure.name` and ensure span name attribute
consistency (#398)
- Add Cloudflare SDK attributes (#392)
- Add missing GCP and FaaS attributes (#403)

**Bug Fixes**
- Set `pii: 'maybe'` on `faas` string attributes (#415)
- Add missing Cloudflare visibility attributes (#408)

**Internal**
- Remove `sdks` field from attribute schema and definitions (#410)
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