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

babelfish-for-postgresql / babelfish_extensions / 14324755938
75%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: babel_6032
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 08 Apr 2025 04:28AM 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

06 Apr 2025 03:20AM UTC coverage: 75.142% (-0.002%) from 75.144%
14324755938

push

github

web-flow
Fix float to string conversion for boundary values (#3656)

In #3413 , we added new Cast functions for float to varchar/char conversion . We were using the postgres double_to_shortest_decimal_buf API to convert float to string , which would return special values like Infinity/-Infinity for very big/small values , also we were using rounding logic by multiplication and then dividing the result which could result in overflow, Now we fallback to string formatting using psprintf (postgres flavour of printf) and format specifier to fix the precision.
This change also solves the CONVERT function not working correctly with very small float values .

Issues Resolved
BABEL-5709

Cherry-pick #3654
Co-authored-by: Nirmit Shah <nirmisha@amazon.com>

5 of 5 new or added lines in 1 file covered. (100.0%)

47879 of 63718 relevant lines covered (75.14%)

231013.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 14324755938.1 08 Apr 2025 04:28AM UTC 115
75.14
GitHub Action Run
Source Files on build 14324755938
  • Tree
  • List 115
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14324755938
  • df42e8c4 on github
  • Prev Build on BABEL_5_X_DEV (#14263149620)
  • Next Build on BABEL_5_2_STABLE (#14393090757)
  • 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

© 2025 Coveralls, Inc