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

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

Build:
Build:
LAST BUILD BRANCH: 5577-5x
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 22 Jul 2025 11:04PM 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

22 Jul 2025 10:29PM UTC coverage: 75.561% (+0.003%) from 75.558%
16456908022

push

github

web-flow
Introduce additional failure mechanism for broken views as safety check (#3974)

This change enhances the broken view handling mechanism by adding an additional layer of protection. While our primary view repair mechanism should catch and fail when attempting to repair broken views (with errors like "relation does not exist"), this change adds a failsafe mechanism to ensure broken views always fail explicitly rather than potentially returning NULL values. The expected scenario is that this view function will never ever be reached during execution but if due to some uncertainty it does then this will guarantee error instead of incorrect results.

This PR includes following changes:
1. Added new system function sys.babelfish_broken_view_function() in sys_functions.sql that raises an explicit error
2. Updated create_dummy_view_query_for_broken_view() to include a WHERE clause that triggers this function
3. Updated is_dummy_view() to recognize dummy view should have above WHERE func() = 1 in it's query

Issues Resolved: BABEL - 5974
Signed-off-by: Rahul Parande <rparande@amazon.com>

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

2 existing lines in 1 file now uncovered.

49458 of 65454 relevant lines covered (75.56%)

322587.47 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
76.16
-0.62% contrib/babelfishpg_tds/src/backend/tds/tdscomm.c
Jobs
ID Job ID Ran Files Coverage
1 16456908022.1 22 Jul 2025 11:04PM UTC 120
75.56
GitHub Action Run
Source Files on build 16456908022
  • Tree
  • List 120
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16456908022
  • 6c03194c on github
  • Prev Build on BABEL_4_7_STABLE (#16450058607)
  • Next Build on BABEL_4_7_STABLE (#16489324018)
  • 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