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

babelfish-for-postgresql / babelfish_extensions / 15464616681
77%

Build:
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 05 Jun 2025 10:57AM UTC
Jobs 1
Files 119
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

05 Jun 2025 10:23AM UTC coverage: 75.454%. First build
15464616681

push

github

web-flow
Handling CASE expression when one branch is of decimal/numeric and other branch is of smallmoney/money. (#3719)

Currently, we treat typmod for smallmoney/money datatype as default which leads to output differences in many cases.

Following are the fixes introduced in this PR :

Introduce typmod handling for smallmoney/money datatype for objects like table/procedure/views/functions/casts and handling their upgrade scenarios.
We are also handling p&s for declared variables, nested case expressions and unions having smallmoney/money as one of it's node.
It also takes case of round vs truncation behaviour around edge cases for fixeddecimal multiplication
Money/smallmoney and Numeric Arithmetic operations - precision and sclae correction and fixing TDS protocol Errors.
T_Param node handling for fixeddecimal dataypes (money and smallmoney) when numeric is another operand.
T_Aggref handling for Sum/Avg for fixeddecimal and other fixed length datatypes when numeric is another operand.
Handing typmod for smallmoney/money in pg catalogs for views metadata and during dump-restore.
Handling money/smallmoney typmod and fixeddecimal typmodin during dump-restore and by-passing typmod while deparsing for ISC check constraint.
Avoiding crashes and wrong results by updating sanity checks and setting intermittent result size appropirately for bigint and fixeddecimal multiplication.
Signed-off-by: Tanya Gupta tanyagp@amazon.com

Engine PR : babelfish-for-postgresql/postgresql_modified_for_babelfish#575

71 of 84 new or added lines in 6 files covered. (84.52%)

48782 of 64651 relevant lines covered (75.45%)

313612.63 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
72.57
-27.43% contrib/babelfishpg_money/fixeddecimal.c
7
84.54
-15.46% contrib/babelfishpg_tsql/src/hooks.c
Jobs
ID Job ID Ran Files Coverage
1 15464616681.1 05 Jun 2025 10:57AM UTC 119
75.45
GitHub Action Run
Source Files on build 15464616681
  • Tree
  • List 119
  • Changed 7
  • Source Changed 6
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15464616681
  • de3d86e2 on github
  • Prev Build on BABEL_5_X_DEV (#15417208050)
  • Next Build on BABEL_5_X_DEV (#15531221306)
  • 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