Repository navigation
fix(app): match the demo traces rollup's dimension columns to its table - #3736
Draft
alex-fedotyev wants to merge 1 commit into
Draft
alex-fedotyev wants to merge 1 commit into
alex-fedotyev wants to merge 1 commit into
Conversation
🦋 Changeset detectedLatest commit: a9a8b3b The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Duplicate code analysisNo new duplicate code introduced by this PR. jscpd compared this branch against |
This was referenced Nov 20, 2026
Contributor
E2E Test Results✅ All tests passed • 474 passed • 1 skipped • 1072s
Tests ran across 4 shards in parallel. |
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.
alex-fedotyev
force-pushed
the
alex/HDX-6120-trace-rollup-1-demo-mv-config
branch
from
November 24, 2026 02:06
f7882c8 to
a9a8b3b
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
"Connect to Demo Server" adds two rollups to the Demo Traces source. The config for
otel_traces_1m_v2listsServiceName, SpanName, SpanKindas its dimension columns, but the table is grouped byServiceName, StatusCode, SpanName(SHOW CREATE TABLE otel.otel_traces_1m_v2on the demo service). This lists the table's real columns.Chart queries weren't affected: the optimizer checks every rewrite with
EXPLAINand doesn't read this list. Two things do:SpanKind, which the table doesn't have, and left outStatusCode, which it does.SpanKindvalues went tootel_traces_1m_v2, failed theEXPLAINcheck, and fell back to the source table.Stack
First of three PRs in a GitHub stack (stack #3778). The PRs above this one say they merge into the branch below them, but the stack's base is
main: merging a PR lands it and every PR below it onmain, one squashed commit each. Each diff is only its own change, and CI runs as if each PR targetsmain.The three changes don't depend on each other's code. They're groundwork for a default trace rollup, ordered smallest first.
Screenshots or video
Chart Explorer on Demo Traces over one hour, acceleration dialog with
otel_traces_1m_v2expanded:How to reproduce
Starting point: this PR's Vercel preview, or
yarn app:dev:local, then onboarding → "Connect to Demo Server". The demo sources are created during onboarding, so an existing local setup keeps the old list until you connect to the demo server again.On
main:otel_traces_1m_v2in the dialog.ServiceName,SpanName,SpanKind.On this branch:
ServiceName,StatusCode,SpanName.How to test on Vercel preview
Preview routes: /chart
Steps:
otel_traces_1m_v2.ServiceName,StatusCodeandSpanName, and notSpanKind.References