Skip to content

fix: allow typed identity in derived maintenance arithmetic - #507

Merged
zzylol merged 1 commit into
mainfrom
fix/typed-maintenance-binary
Oct 1, 2026
Merged

zzylol merged 1 commit into
mainfrom
fix/typed-maintenance-binary

Conversation

@zzylol

@zzylol zzylol commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Stacked on #505.

Why

Upfront PromQL series typing caused derived quantile candidates over two range sums to fail validation and fall back to exact execution.

What

Accept one non-null UTF-8 opaque series identity column in maintenance arithmetic, while rejecting malformed or duplicate identities and arbitrary string columns.

Before this PR: quantile(0.9, sum_over_time(m[1m]) + sum_over_time(n[1m])) with typed series identity could not export its maintenance candidate.

After this PR: typed maintenance arithmetic passes the same schema contract as its physical implementation.

Validation

The focused identity regression fails before the fix and passes afterward; negative cases cover nullable, wrong-type, duplicate and arbitrary string fields. The existing two-source exporter test now uses upfront series typing. Full workspace formatting, Clippy with warnings denied, and all workspace tests pass. Backend immutable complete-group and two-source revision process regressions also pass.

Base is frozen at the previously validated integration tip so integration updates leave this review open.

🤖 Generated with Claude Code

@zzylol
zzylol marked this pull request as ready for review September 30, 2026 15:22
@zzylol
zzylol force-pushed the docs/physical-coverage-handoff branch from bd367a3 to 3d2b95d Compare September 30, 2026 18:27
@zzylol
zzylol force-pushed the fix/typed-maintenance-binary branch from a049a3b to acdea1d Compare September 30, 2026 18:27
@zzylol
zzylol force-pushed the docs/physical-coverage-handoff branch from 3d2b95d to 2101e97 Compare September 30, 2026 20:25
@zzylol
zzylol force-pushed the fix/typed-maintenance-binary branch 2 times, most recently from 1e210a3 to 8446d62 Compare October 1, 2026 22:48
@zzylol
zzylol changed the base branch from docs/physical-coverage-handoff to feat/histogram-quantile October 1, 2026 22:48
@zzylol
zzylol force-pushed the feat/histogram-quantile branch from 50c9d6d to ae5f517 Compare October 1, 2026 23:14
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