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

babelfish-for-postgresql / babelfish_extensions / 14030250995 / 1
76%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: BABEL_6310_STGEOMETRYTYPE
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 24 Mar 2025 08:43AM UTC
Files 115
Run time 4s
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

24 Mar 2025 08:10AM UTC coverage: 75.082% (+0.03%) from 75.05%
14030250995.1

push

github

web-flow
Fix issue with truncation of result of arithmetic computations to correct scale when result is of numeric datatype (#3455) (#3611)

Currently, whenever an arithmetic operation is performed which results in numeric/decimal, we are storing the result till maximum possible scale instead of the correct scale. This is causing incorrect results in some arithmetic operations such as numeric division, numeric multiplication etc. This PR will fix this issue by adding a hooks in engine which truncates/rounds the result value to the correct scale and also sets the correct typmod of multiple nodes whose base type is NUMERIC.

This PR also fixes precision overflow adjustment logic in case NUMERIC ADDITION, SUBTRACTION and MULTIPLICATION.

Engine PR: babelfish-for-postgresql/postgresql_modified_for_babelfish#529

Tasks: BABEL-5467, BABEL-5685

Signed-off-by: Rohit Bhagat <rohitbgt@amazon.com>
Co-authored-by: Rohit bhagat <65351720+rohit01010@users.noreply.github.com>

47740 of 63584 relevant lines covered (75.08%)

237023.84 hits per line

Source Files on job 14030250995.1
  • Tree
  • List 115
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14030250995
  • 06d1ac9b on github
  • Prev Job for on BABEL_4_X_DEV (#14027564039.1)
  • Next Job for on BABEL_4_X_DEV (#14045566495.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