Skip to content

fix(compiler): plan joins across all requested metrics' sources - #247

Merged
mischuh merged 1 commit into
mainfrom
fix/compiler-cross-source-metric-joins
Jul 27, 2026
Merged

fix(compiler): plan joins across all requested metrics' sources#247
mischuh merged 1 commit into
mainfrom
fix/compiler-cross-source-metric-joins

Conversation

@mischuh

@mischuh mischuh commented Jul 27, 2026

Copy link
Copy Markdown
Owner
  • include every metric's source in join planning, not just dimensions/filters, fixing missing JOINs (BinderException) when metrics span multiple sources
  • raise FanoutUnsafe for non-one_to_one cross-source metric joins, since the existing dedup/flat-select emission would otherwise silently corrupt the aggregate

@mischuh mischuh self-assigned this Jul 27, 2026
- include every metric's source in join planning, not just dimensions and
  filters, fixing missing JOINs when metrics span multiple sources
- raise FanoutUnsafe for non-one_to_one cross-source metric joins, since the
  dedup/flat-select emission would otherwise silently corrupt the aggregate

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@mischuh
mischuh force-pushed the fix/compiler-cross-source-metric-joins branch from 0627999 to f5c5bd2 Compare July 27, 2026 19:27
@mischuh
mischuh merged commit 392015d into main Jul 27, 2026
5 checks passed
@mischuh
mischuh deleted the fix/compiler-cross-source-metric-joins branch July 27, 2026 19:29
@mischuh mischuh mentioned this pull request Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant