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

babelfish-for-postgresql / babelfish_extensions / 9301505688
74%
BABEL_5_X_DEV: 75%

Build:
Build:
LAST BUILD BRANCH: babel-5617-update
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 30 May 2024 11:55AM CUT
Jobs 1
Files 114
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 May 2024 11:07AM CUT coverage: 73.194%. Remained the same
9301505688

push

github

web-flow
Fix differences in T-SQL COALESCE function while calling the function with variables and constants together (#2635)

This commit will fix the following issues with T-SQL COALESCE function :

When the arguments contain the mix of variables and constants as shown below, the below query should return 4 as it is the first non-null value. But BBF throws error as we try to evaluate the constant ('dfidhfgi') at the compile time in this case.

DECLARE @abc int = 4 ;
select COALESCE(@abc, 'dfidhfgi')

When the arguments are of varbinary and nvarchar type, BBF throws error as we have defined the CAST between varbinary and nvarchar as ASSIGNMENT, but in this case IMPLICIT casting is used.

select coalesce(CAST('x'AS VARBINARY), CAST('x' AS NVARCHAR(4000)), 'x')

Issues Resolved: BABEL-726
Engine PR : babelfish-for-postgresql/postgresql_modified_for_babelfish#380

Signed-off-by: Sai Rohan Basa bsrohan@amazon.com

41715 of 56992 relevant lines covered (73.19%)

107968.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9301505688.1 30 May 2024 11:55AM CUT 114
73.19
GitHub Action Run
Source Files on build 9301505688
  • Tree
  • List 114
  • Changed 78
  • Source Changed 0
  • Coverage Changed 0
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
0.0
contrib/babelfishpg_tsql/src/tsqlHandler.c29 5 0 5 0.0
0.0
contrib/babelfishpg_tsql/src/tsqlNodes.c40 18 0 18 0.0
0.0
.../mb/conversion_procs/utf8_and_big5/utf8_and_big5.c32 4 0 4 0.0
0.0
contrib/babelfishpg_tsql/src/tsql_for/forxml_old.c283 95 0 95 0.0
0.0
...ontrib/babelfishpg_tsql/src/tsql_for/forjson_old.c358 136 0 136 0.0
1.18
contrib/babelfishpg_tsql/src/pl_gram.y8370 3221 38 3183 3731.0 + 4
11.5
contrib/babelfishpg_tsql/src/pl_scanner.c835 226 26 200 118734.0 + 229
20.65
contrib/babelfishpg_tsql/src/pl_funcs.c1833 1085 224 861 827556.0 + 196
32.84
...ontrib/babelfishpg_tds/src/backend/utils/adt/xml.c737 201 66 135 9.0
36.36
...ib/babelfishpg_tds/src/backend/utils/adt/varchar.c108 22 8 14 1314.0
Showing 1 to 10 of 114 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 12
  • Next
  • ►
    73.19
    contrib/
  • Back to Repo
  • Github Actions Build #9301505688
  • bf60ba3d on github
  • Prev Build on BABEL_3_X_DEV (#9287854680)
  • Next Build on BABEL_3_X_DEV (#9314670965)
  • 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