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

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

Build:
Build:
LAST BUILD BRANCH: fix_script_injection
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 22 Oct 2024 12:58PM 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

22 Oct 2024 12:23PM UTC coverage: 74.534% (+0.006%) from 74.528%
11460085040

push

github

web-flow
fix for storing the correct object definition in catalog (#3017)

If a procedure contains datatype with brackets around like 'DECLARE @Sql [varchar] (8000)' , the babelfish catalog stores it as 'DECLARE @Sql varchar (8000)' i.e the brackets are not stored properly in catalog.
Also if we add a single line comment before a query(like alter, create query) then while logging the definition of that query from catalog we do not get the single line comment, which is not correct.

RCA: while parsing the query we mutate the parse tree in such a way that it modifies various things from the original string like single line comment, brackets, multi line comments.

Fix: store the original query string before mutation and convert alter to create in case or alter procedure/function( batch level statement) and pass that query string.

Issues Resolved: BABEL-5237, BABEL-5236, BABEL-5140

Signed-off-by: Pranav Jain pranavjc@amazon.com

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

45232 of 60686 relevant lines covered (74.53%)

163240.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11460085040.1 22 Oct 2024 12:58PM UTC 115
74.53
GitHub Action Run
Source Files on build 11460085040
  • Tree
  • List 115
  • Changed 69
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11460085040
  • 753da8a8 on github
  • Prev Build on BABEL_4_X_DEV (#11454597096)
  • Next Build on BABEL_4_X_DEV (#11461809918)
  • 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

© 2025 Coveralls, Inc