• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

amazon-aurora / babelfish_extensions / 12776848707
75%
main: 77%

Build:
Build:
LAST BUILD BRANCH: community-merge-15x
DEFAULT BRANCH: main
Ran 14 Jan 2025 10:11PM UTC
Jobs 1
Files 115
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Jan 2025 09:37PM UTC coverage: 74.959% (-0.004%) from 74.963%
12776848707

push

github

hopebo
Implement modulo operator for MONEY/SMALLMONEY types

Description
-----------
Due to the missing modulo operator for MONEY/SMALLMONEY types, it will choose
the other Postgres internal alternatives like int4mod and numeric_mod, which will
involve additional implicit CASTing between MONEY/SMALLMONEY types and other types.
These CASTings could cause loss of precision and wrong results. What's more, the result
of calculation won't be MONEY/SMALLMONEY types any more.

Fix
---
Implement the modulo function and operator for MONEY/SMALLMONEY types. The reason why we don't
need to implement the functions between MONEY/SMALLMONEY types and interger types is that it
will choose the MONEY-MONEY/SMALLMONEY-SMALLMONEY functions to calculate. And the result type is
expected.

Task: BABEL-5480
Signed-off-by: Bo Li <zboli@amazon.com>

8 of 9 new or added lines in 1 file covered. (88.89%)

261 existing lines in 2 files now uncovered.

46986 of 62682 relevant lines covered (74.96%)

167290.75 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
69.52
0.0% contrib/babelfishpg_money/fixeddecimal.c

Uncovered Existing Lines

Lines Coverage ∆ File
2
76.03
-0.63% contrib/babelfishpg_tds/src/backend/tds/tdscomm.c
259
69.52
0.0% contrib/babelfishpg_money/fixeddecimal.c
Jobs
ID Job ID Ran Files Coverage
1 12776848707.1 14 Jan 2025 10:11PM UTC 115
74.96
GitHub Action Run
Source Files on build 12776848707
  • Tree
  • List 115
  • Changed 48
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12776848707
  • 0e8ae279 on github
  • Prev Build on babel_5480_dev17 (#12775821220)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc