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

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

Build:
Build:
LAST BUILD BRANCH: fixing_year
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 30 Dec 2024 03:12PM UTC
Jobs 1
Files 115
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 Dec 2024 02:38PM UTC coverage: 74.876% (+0.001%) from 74.875%
12548000407

push

github

web-flow
Mark table_constraints_internal() function as parallel safe and set current_db_id for parallel workers (#3323)

The INFORMATION_SCHEMA_TSQL.TABLE_CONSTRAINTS_INTERNAL() function was recently introduced
but not marked as PARALLEL SAFE. This prevented the query optimizer from utilizing parallel
plans in queries involving this function, leading to suboptimal performance for certain operations.

By marking the function as PARALLEL SAFE, we enable the use of parallel query execution plans,
which can significantly improve performance for large datasets.

This commit also addresses the issue of empty result sets in queries joining with sys.db_id()
or sys.db_name() in Enforced Parallel Query mode by setting the current_db_id in addition to
current_db_name for parallel workers.

Task: BABEL-5427, BABEL-5504

Signed-off-by: Sumit Jaiswal sumiji@amazon.com

3 of 3 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

46731 of 62411 relevant lines covered (74.88%)

166043.59 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
97.44
0.03% contrib/babelfishpg_tsql/src/session.c
Jobs
ID Job ID Ran Files Coverage
1 12548000407.1 30 Dec 2024 03:12PM UTC 115
74.88
GitHub Action Run
Source Files on build 12548000407
  • Tree
  • List 115
  • Changed 46
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12548000407
  • 9808e7d9 on github
  • Prev Build on BABEL_4_X_DEV (#12542104478)
  • Next Build on BABEL_4_X_DEV (#12555969159)
  • 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