DashboardsentryNodeData._node_data is None means event…

NodeData._node_data is None means event body not yet fetched

Category: pattern
Confidence: 1.00
ID: 019d0673-844d-7856-92ad-a488a119fa34
Project ID: 702228c8-56bc-4694-8d5a-174ac2f29105
Cross-project: No
Recalled in other projects: 0
Source session: (none)
Created: 2026-07-30 15:46:04
Updated: 2026-07-30 15:46:04

Content

NodeData._node_data is None means event body not yet fetched; accessing .data triggers lazy nodestore RPC. BaseEvent.message always hits nodestore — use obj._snuba_data.get('message') to avoid. Batch optimization: bind_nodes() replaces N RPCs with 1 get_multi. ClickHouse returns '' not NULL for missing Nullable string columns — filter both '' and None. Snuba message column is search_message (processed), not the real event message. Discover column names (user.id, user.email, event.type) differ from Event._snuba_data keys (user_id, email, type) — remap when constructing Event(snuba_data={...}).

Move to: