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

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

Build:
Build:
LAST BUILD BRANCH: 5577-5x
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 09 Jan 2026 11:29AM UTC
Jobs 1
Files 120
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

09 Jan 2026 11:05AM UTC coverage: 76.237% (+0.02%) from 76.219%
20849899934

push

github

web-flow
Fix style parameter handling and error validation in CONVERT function (#4393)

Earlier in babelfish, when converting money/smallmoney to varchar, it would throw an error for negative style numbers (except -1) and produce output for float style numbers. This has been fixed to match T-SQL behavior where it now accepts negative style numbers and raises an error for float style numbers.

The CONVERT function previously didn't handle style parameters correctly when converting smallmoney to varchar. A new helper function has been added for smallmoney to varchar conversion, ensuring the output matches T-SQL behavior with proper style parameter handling.

Additionally, when converting date, time, and datetime to varchar with invalid style numbers, the function would silently return NULL instead of raising an exception as T-SQL does.

Issues Resolved
BABEL-5577, BABEL-5521, BABEL-6154

Cherry-pick commit: b5b9806

Authored-by: Sujan Mujawar sujanmjr@amazon.com
Signed-off-by: Sujan Mujawar sujanmjr@amazon.com

50599 of 66371 relevant lines covered (76.24%)

395230.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 20849899934.1 09 Jan 2026 11:29AM UTC 120
76.24
GitHub Action Run
Source Files on build 20849899934
  • Tree
  • List 120
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20849899934
  • e69df3d5 on github
  • Prev Build on BABEL_4_X_DEV (#20848762995)
  • 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