Skip to content

ref(explore): Remove last_received from attribute context tables#118562

Merged
DominikB2014 merged 1 commit into
masterfrom
dominikbuszowiecki/browse-587-remove-last_received-from-attribute-context-tables
Jun 26, 2026
Merged

ref(explore): Remove last_received from attribute context tables#118562
DominikB2014 merged 1 commit into
masterfrom
dominikbuszowiecki/browse-587-remove-last_received-from-attribute-context-tables

Conversation

@DominikB2014

Copy link
Copy Markdown
Contributor

Removes last_received from the TraceItemAttributeContext and TraceItemAttributeValueContext tables. We're going to retrieve last_received from ClickHouse instead (getsentry/snuba#7801), so there's no need to store it.

These tables are completely empty, so the column can be dropped without any data concerns.

Fixes BROWSE-587

last_seen will be computed in ClickHouse (getsentry/snuba#7801), so
there's no need to store last_received on the attribute context tables.
@DominikB2014 DominikB2014 requested review from a team as code owners June 26, 2026 14:48
@linear-code

linear-code Bot commented Jun 26, 2026

Copy link
Copy Markdown

BROWSE-587

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 26, 2026
@DominikB2014 DominikB2014 requested a review from a team June 26, 2026 14:52
@DominikB2014 DominikB2014 merged commit 03163fa into master Jun 26, 2026
85 of 87 checks passed
@DominikB2014 DominikB2014 deleted the dominikbuszowiecki/browse-587-remove-last_received-from-attribute-context-tables branch June 26, 2026 15:12
DominikB2014 added a commit that referenced this pull request Jun 26, 2026
last_received was removed from the attribute context tables (BROWSE-587,
#118562); stop writing/asserting it here.
shayna-ch pushed a commit that referenced this pull request Jun 30, 2026
…8562)

Removes `last_received` from the `TraceItemAttributeContext` and
`TraceItemAttributeValueContext` tables. We're going to retrieve
`last_received` from ClickHouse instead (getsentry/snuba#7801), so
there's no need to store it.

These tables are completely empty, so the column can be dropped without
any data concerns.

Fixes
[BROWSE-587](https://linear.app/getsentry/issue/BROWSE-587/remove-last-received-from-attribute-context-tables)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants