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

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

Build:
Build:
LAST BUILD BRANCH: BABEL-5577
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 02 Aug 2024 07:00AM 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

02 Aug 2024 06:10AM UTC coverage: 73.582% (+0.001%) from 73.581%
10210886170

push

github

web-flow
Added wrapper functions for REPLACE() Function to fix issue with input containing multi-byte characters. (#2819)

Currently for string function REPLACE(), the existing definition takes input as type TEXT and return type is TEXT. This
leads to incorrect output for input containing multi-byte characters with NCHAR and NVARCHAR datatype for input, as
the return datatype should have been NVARCHAR for NCHAR and NVARCHAR datatype.

This commit will fix this issue by adding wrapper functions with correct input and return datatype for REPLACE()
function.

This commit also updates the castcontext of CAST from bbf_binary to varchar, to IMPLICIT which was previously
marked as ASSIGNMENT. Due to this REPLACE function call with input type binary was not able choose the available
replace definitions with argument datatype VARCHAR/NVARCHAR.

Task: BABEL-4836
Signed-off-by: Rohit Bhagat <rohitbgt@amazon.com>

13 of 14 new or added lines in 2 files covered. (92.86%)

43925 of 59695 relevant lines covered (73.58%)

125740.51 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
79.89
0.19% contrib/babelfishpg_tsql/src/pltsql_coerce.c
Jobs
ID Job ID Ran Files Coverage
1 10210886170.1 02 Aug 2024 07:00AM UTC 115
73.58
GitHub Action Run
Source Files on build 10210886170
  • Tree
  • List 115
  • Changed 78
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #10210886170
  • 2a7e2822 on github
  • Prev Build on BABEL_4_X_DEV (#10197244252)
  • Next Build on BABEL_4_X_DEV (#10211186308)
  • 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