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

babelfish-for-postgresql / babelfish_extensions / 17848039869
77%

Build:
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 19 Sep 2025 04:35AM UTC
Jobs 1
Files 121
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

19 Sep 2025 03:58AM UTC coverage: 76.473% (+0.03%) from 76.445%
17848039869

push

github

web-flow
Support Select Top N Percent  (#4041)

Description
This PR implements comprehensive support for SELECT TOP N PERCENT syntax in Babelfish, addressing JIRA-BABEL-1358. The implementation adds percentage-based row limiting functionality to align with SQL Server behavior.

Problem
Babelfish previously only supported SELECT TOP N (fixed count) but lacked support for SELECT TOP N PERCENT (percentage-based limiting), which is a commonly used SQL Server feature for selecting a percentage of rows from result sets.

Related Links -
Engine Link - babelfish-for-postgresql/postgresql_modified_for_babelfish#615

Issue: BABEL-1358
Signed-off-by: Herambh Shah <herambhs@amazon.com>

93 of 96 new or added lines in 1 file covered. (96.88%)

1 existing line in 1 file now uncovered.

51082 of 66797 relevant lines covered (76.47%)

380820.79 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
85.92
0.37% contrib/babelfishpg_tsql/src/hooks.c

Uncovered Existing Lines

Lines Coverage ∆ File
1
79.23
-0.2% contrib/babelfishpg_tds/src/backend/tds/tdsutils.c
Jobs
ID Job ID Ran Files Coverage
1 17848039869.1 19 Sep 2025 04:35AM UTC 121
76.47
GitHub Action Run
Source Files on build 17848039869
  • Tree
  • List 121
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17848039869
  • 60005363 on github
  • Prev Build on BABEL_5_X_DEV (#17826568003)
  • Next Build on BABEL_5_X_DEV (#17849196517)
  • 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