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

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

Build:
Build:
LAST BUILD BRANCH: 5577-5x
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 22 Jul 2025 11:03PM 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:28PM UTC coverage: 75.645% (+0.004%) from 75.641%
16456893135

push

github

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

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:

Added new system function sys.babelfish_broken_view_function() in sys_functions.sql that raises an explicit error
Updated create_dummy_view_query_for_broken_view() to include a WHERE clause that triggers this function
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.

49661 of 65650 relevant lines covered (75.65%)

317570.69 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 16456893135.1 22 Jul 2025 11:03PM UTC 120
75.65
GitHub Action Run
Source Files on build 16456893135
  • 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 #16456893135
  • 0af34993 on github
  • Prev Build on BABEL_5_3_STABLE (#16450044221)
  • Next Build on BABEL_5_3_STABLE (#17082394559)
  • 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