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

babelfish-for-postgresql / babelfish_extensions / 14263102480
76%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: fix_script_injection
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 04 Apr 2025 10:46AM 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

04 Apr 2025 10:13AM UTC coverage: 75.076% (+0.001%) from 75.075%
14263102480

push

github

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

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
Signed-off-by: Nirmit Shah <nirmisha@amazon.com>

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

47741 of 63590 relevant lines covered (75.08%)

237643.32 hits per line

Jobs
ID Job ID Ran Files Coverage
1 14263102480.1 04 Apr 2025 10:46AM UTC 115
75.08
GitHub Action Run
Source Files on build 14263102480
  • Tree
  • List 115
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14263102480
  • bb0fd099 on github
  • Prev Build on BABEL_4_X_DEV (#14259183762)
  • Next Build on BABEL_4_X_DEV (#14263122760)
  • 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