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

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

Build:
Build:
LAST BUILD BRANCH: fix_script_injection
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 30 Sep 2024 11:33AM 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

30 Sep 2024 10:45AM UTC coverage: 74.508% (+0.02%) from 74.487%
11104515657

push

github

web-flow
Fix difference in behaviour for CONCAT() and CONCAT_WS() functions with multibyte characters (#2990)

Issues

Arguments datatype and return datatype of CONCAT() and CONCAT_WS() string function is not defined correctly in
Babelfish, which is causing output difference between TSQL and Babelfish.

CONCAT() and CONCAT_WS() functions does not raise error when called with < 2 or < 3 arguments respectively.

BABEL-4299 missed to add SQL changes to upgrade script, as a result after upgrade to 15.5, 14.10 or later, the
definition will remain same as the previous one and there would be no performance improvement.

Changes made to fix the issues

Added wrapper function handling for CONCAT() and CONCAT_WS() function to ensure correct input arguments
datatype and return datatype. Also ensured to throw appropriate error when CONCAT() and CONCAT_WS() functions
are called with < 2 or < 3 arguments respectively.

Task: BABEL- 3409, BABEL- 3648
Signed-off-by: Anikait Agrawal <agraani@amazon.com>

50 of 52 new or added lines in 3 files covered. (96.15%)

1 existing line in 1 file now uncovered.

45031 of 60438 relevant lines covered (74.51%)

162745.98 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
81.36
0.81% contrib/babelfishpg_tsql/src/pltsql_coerce.c

Uncovered Existing Lines

Lines Coverage ∆ File
1
74.22
0.21% contrib/babelfishpg_tds/src/backend/tds/tdsutils.c
Jobs
ID Job ID Ran Files Coverage
1 11104515657.1 30 Sep 2024 11:33AM UTC 115
74.51
GitHub Action Run
Source Files on build 11104515657
  • Tree
  • List 115
  • Changed 78
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11104515657
  • d74ad404 on github
  • Prev Build on BABEL_4_X_DEV (#11083931505)
  • Next Build on BABEL_4_X_DEV (#11105860459)
  • 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