From a9a8b3b5c05ef83580dd6a939bcf568ed061720b Mon Sep 17 00:00:00 2001 From: Alex Fedotyev <61838744+alex-fedotyev@users.noreply.github.com> Date: Tue, 24 Nov 2026 01:51:40 +0000 Subject: [PATCH] fix(app): match the demo traces rollup's dimension columns to its table The demo connection describes otel_traces_1m_v2 as grouped by ServiceName, SpanName and SpanKind, but the table is grouped by ServiceName, StatusCode and SpanName. Filter value lookups tried the view for SpanKind and failed the EXPLAIN check, and the view's details showed a column it doesn't have. --- .changeset/demo-traces-mv-dimensions.md | 5 +++++ packages/app/src/components/OnboardingModal.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/demo-traces-mv-dimensions.md diff --git a/.changeset/demo-traces-mv-dimensions.md b/.changeset/demo-traces-mv-dimensions.md new file mode 100644 index 000000000..3cd6f9a73 --- /dev/null +++ b/.changeset/demo-traces-mv-dimensions.md @@ -0,0 +1,5 @@ +--- +'@hyperdx/app': patch +--- + +fix: the demo traces rollup lists its real dimension columns (StatusCode, not SpanKind), so filter value lookups and the materialized view details match the table diff --git a/packages/app/src/components/OnboardingModal.tsx b/packages/app/src/components/OnboardingModal.tsx index 22aef9e06..0973e8879 100644 --- a/packages/app/src/components/OnboardingModal.tsx +++ b/packages/app/src/components/OnboardingModal.tsx @@ -745,7 +745,7 @@ function OnboardingModalComponent({ { databaseName: 'otel', tableName: 'otel_traces_1m_v2', - dimensionColumns: 'ServiceName, SpanName, SpanKind', + dimensionColumns: 'ServiceName, StatusCode, SpanName', minGranularity: '1 minute', timestampColumn: 'Timestamp', aggregatedColumns: [