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

babelfish-for-postgresql / babelfish_extensions / 12693842151
77%

Build:
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 09 Jan 2025 04:44PM UTC
Jobs 1
Files 115
Run time 93min
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

09 Jan 2025 04:07PM UTC coverage: 74.947% (+0.02%) from 74.925%
12693842151

push

github

web-flow
Fix hashbytes behaviour for nvarchar input (#3259) (#3385)

PROBLEM: while having nvarchar input in hashbytes we were considering the encoding as input encoding in babelfish where as in tsql we use UTF16 encoding for nvarchar irrespective of input encoding.

RCA: we were considering varchar and nvarchar as same, whereas we should use input encoding for varchar and UTF16 encoding for nvarchar.

FIX: So we need to identify that if the input is nvarchar then we will do the UTF16 encoding.
In the function hashbytes, we were converting varchar/nvarchar to varbinary, so if we get input as nvarchar then we will first convert the input string to UTF16 encoding then convert to varbinary.
There we created the overloaded function and also select the best candidate among depending on the second argument(i.e varchar/nvarchar/varbinary).

Task: BABEL-4891

Signed-off-by: pranav jain <pranavjc@amazon.com>

39 of 39 new or added lines in 3 files covered. (100.0%)

46860 of 62524 relevant lines covered (74.95%)

167631.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12693842151.1 09 Jan 2025 04:44PM UTC 0
74.95
GitHub Action Run
Source Files on build 12693842151
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12693842151
  • c63da4cc on github
  • Prev Build on BABEL_5_X_DEV (#12684333519)
  • Next Build on BABEL_5_X_DEV (#12696145122)
  • 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