From bd483423173ae4a52a5a93ae7ed4e9256708031d Mon Sep 17 00:00:00 2001 From: Colin <161344340+colin-sentry@users.noreply.github.com> Date: Mon, 30 Dec 2024 18:17:41 -0500 Subject: [PATCH] fix: add a missing alias that was causing a warning (#6707) Solves https://github.com/getsentry/eap-planning/issues/138 --- snuba/web/rpc/v1/endpoint_trace_item_attribute_names.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snuba/web/rpc/v1/endpoint_trace_item_attribute_names.py b/snuba/web/rpc/v1/endpoint_trace_item_attribute_names.py index 4ac58538a0..b08268bfe1 100644 --- a/snuba/web/rpc/v1/endpoint_trace_item_attribute_names.py +++ b/snuba/web/rpc/v1/endpoint_trace_item_attribute_names.py @@ -99,7 +99,7 @@ def convert_to_snuba_request(req: TraceItemAttributeNamesRequest) -> SnubaReques selected_columns=[ SelectedExpression( name="attr_key", - expression=column("attr_key"), + expression=column("attr_key", alias="attr_key"), ), ], condition=condition,