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

feat(replay): add replays required timestamp col to ENTITY_TIME_COLUMNS #197

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

aliu39
Copy link
Member

@aliu39 aliu39 commented Oct 1, 2024

We need this for this query in Sentry's tagstore backend. Currently the replays entity does not support auto-filling the timestamp conditions, and we get 400 bad request, "detail": "Missing >= condition with a datetime literal on column timestamp for entity replays. Example: timestamp >= toDateTime('2023-05-16 00:00')".

(The autofilling is done in snuba_sdk's json_to_snql function.)

Impact: we can't search for custom tags in the replays dataset until we release this, and bump sentry's snuba-sdk version.

@aliu39 aliu39 requested a review from a team as a code owner October 1, 2024 23:03
@evanh
Copy link
Member

evanh commented Oct 2, 2024

@aliu39 Let me know if you need help releasing.

@aliu39 aliu39 merged commit 6a11c67 into main Oct 2, 2024
11 checks passed
@aliu39 aliu39 deleted the aliu/replay-time-column branch October 2, 2024 17:02
@aliu39
Copy link
Member Author

aliu39 commented Oct 2, 2024

Ref getsentry/sentry#78531

aliu39 added a commit to getsentry/sentry that referenced this pull request Oct 3, 2024
…y tag key queries (#78534)

This lets us query OrganizationTagsEndpoint with dataset=replays.
- Use the newest snuba-sdk release, with change made in
getsentry/snuba-sdk#197.
- disable sampling optimization ("turbo") as replays table doesn't
support it.
- adds a test which I verified is working with snuba devserver, on
branch getsentry/snuba#6378

Ref #78531

-> depends on getsentry/snuba#6378.
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