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

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

Build:
Build:
LAST BUILD BRANCH: BABEL-5577
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 14 Jan 2025 09:04AM UTC
Jobs 1
Files 115
Run time 6min
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

14 Jan 2025 08:41AM UTC coverage: 74.931% (+0.007%) from 74.924%
12763988971

push

github

web-flow
Fix formatting issue in CAST MONEY to CHAR/VARCHAR (#3367) (#3392)

While CASTing money/smallmoney to (N)VARCHAR/(N)CHAR, the value get rounded
to 4 decimal places instead of 2. Fixed this by implementing CASTs from money to
CHAR/VARCHAR datatype which rounds off input money value to 2 decimal places and
converts it to string.

Additionally, while CASTing money values to (N)CHAR, the resultant string gets left padded
instead of usual right padding. This commit also fixes this issue.

Task: BABEL-5478
Signed-off-by: Rishabh Tanwar <ritanwar@amazon.com>

43 of 48 new or added lines in 2 files covered. (89.58%)

2 existing lines in 1 file now uncovered.

46942 of 62647 relevant lines covered (74.93%)

170121.11 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
69.37
0.16% contrib/babelfishpg_money/fixeddecimal.c
4
84.41
0.25% contrib/babelfishpg_common/src/varchar.c

Uncovered Existing Lines

Lines Coverage ∆ File
2
76.03
-0.63% contrib/babelfishpg_tds/src/backend/tds/tdscomm.c
Jobs
ID Job ID Ran Files Coverage
1 12763988971.1 14 Jan 2025 09:04AM UTC 115
74.93
GitHub Action Run
Source Files on build 12763988971
  • Tree
  • List 115
  • Changed 73
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12763988971
  • 68541544 on github
  • Prev Build on BABEL_4_X_DEV (#12748561380)
  • Next Build on BABEL_4_X_DEV (#12797166226)
  • 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