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

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

Build:
Build:
LAST BUILD BRANCH: 5577-5x
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 19 Sep 2025 06:20PM UTC
Jobs 1
Files 120
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 05:44PM UTC coverage: 76.063% (+0.04%) from 76.02%
17865758431

push

github

web-flow
added new grammer, hook and logic for top N Percent (#4111)

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#624

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

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

57 existing lines in 1 file now uncovered.

50098 of 65864 relevant lines covered (76.06%)

386620.66 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
86.38
0.36% contrib/babelfishpg_tsql/src/hooks.c

Uncovered Existing Lines

Lines Coverage ∆ File
57
93.53
0.12% contrib/babelfishpg_common/src/datetime.c
Jobs
ID Job ID Ran Files Coverage
1 17865758431.1 19 Sep 2025 06:20PM UTC 120
76.06
GitHub Action Run
Source Files on build 17865758431
  • Tree
  • List 120
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17865758431
  • 4af4fcfb on github
  • Prev Build on BABEL_4_X_DEV (#17853119721)
  • Next Build on BABEL_4_X_DEV (#17918817808)
  • 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