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

amazon-aurora / babelfish_extensions / 12753941091 / 1
75%
main: 77%

Build:
Build:
LAST BUILD BRANCH: jira-babel-ssms-perf
DEFAULT BRANCH: main
Ran 13 Jan 2025 07:31PM UTC
Files 115
Run time 6s
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

13 Jan 2025 06:45PM UTC coverage: 74.877% (-0.003%) from 74.88%
12753941091.1

push

github

Bo Li
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>

46646 of 62297 relevant lines covered (74.88%)

165447.08 hits per line

Source Files on job 12753941091.1
  • Tree
  • List 115
  • Changed 69
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 12753941091
  • 1797ac50 on github
  • Prev Job for on babel_5480_dev17 (#12753857138.1)
  • Next Job for on babel_5480_dev17 (#12755117505.1)
  • 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