Skip to content

reducers: Align datatypes with postgres, instead of Redis - #15415

Merged
Yopi merged 1 commit into
mainfrom
yopi/reducer-bucket-decimal-values
Oct 14, 2026
Merged

Yopi merged 1 commit into
mainfrom
yopi/reducer-bucket-decimal-values

Conversation

@Yopi

@Yopi Yopi commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

SQLAlchemy loads everything as Decimals, and only Redis was expecting a float, so this aligns the datatypes to be correct all the way through.

View guided diff Turn on auto-fix

SQLAlchemy loads everything as Decimals, and only Redis was expecting a float,
so this aligns the datatypes to be correct all the way through.
@vercel

vercel Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
orbit Ready Ready Preview Oct 13, 2026 2:48pm UTC
polar-test Ready Ready Preview Oct 13, 2026 2:48pm UTC

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Auto-approved: Aligns reducer bucket aggregation values to Decimal throughout to match Postgres, converting to float only where Redis requires it; tests add fractional values to cover decimal handling.

View guided diff | Turn on auto-fix | Re-trigger cubic

@Yopi
Yopi added this pull request to the merge queue Oct 14, 2026
Merged via the queue into main with commit d73d4f9 Oct 14, 2026
31 of 47 checks passed
@Yopi
Yopi deleted the yopi/reducer-bucket-decimal-values branch October 14, 2026 08:06

This branch was successfully deployed

2 active deployments
Preview – polar-test — 2f10f467 Deployed Oct 13, 2026 by vercel[bot]
Preview – orbit — 2f10f467 Deployed Oct 13, 2026 by vercel[bot]
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.

2 participants