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

babelfish-for-postgresql / babelfish_extensions / 20814479618 / 1
77%
BABEL_5_X_DEV: 77%

Build:
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 08 Jan 2026 01:17PM UTC
Files 121
Run time 5s
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

08 Jan 2026 10:57AM UTC coverage: 76.892% (+0.009%) from 76.883%
20814479618.1

push

github

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

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.

Task: BABEL-5577, BABEL-5521, BABEL-6154

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

52601 of 68409 relevant lines covered (76.89%)

388561.57 hits per line

Source Files on job 20814479618.1
  • Tree
  • List 121
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20814479618
  • b5b98062 on github
  • Prev Job for on BABEL_5_X_DEV (#20810200999.1)
  • Next Job for on BABEL_5_X_DEV (#20841192951.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