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

amazon-aurora / babelfish_extensions / 15963897630
76%
main: 77%

Build:
Build:
LAST BUILD BRANCH: jira-babel-6037
DEFAULT BRANCH: main
Ran 30 Jun 2025 05:05AM 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

30 Jun 2025 04:30AM UTC coverage: 75.875% (+0.05%) from 75.827%
15963897630

push

github

web-flow
Added support for sp_xml_preparedocument and sp_xml_removedocument procedures  (#75)

Currently babelfish does not support procedures like sp_xml_preparedocument and sp_xml_removedocument. This PR adds support for the sp_xml_preparedocument and sp_xml_removedocument procedures.
The procedure sp_xml_preparedocument parses an XML text given as input , stores it at session level and returns a handle to this document, which can be used to fetch the document.
Similarly , the purpose of sp_xml_removedocument is to remove the internal representation of the XML document and invalidate that handle which was created using the sp_xml_preparedocument procedure.

The syntax for the procedures is as folllows:

sp_xml_preparedocument hdoc OUTPUT [ , xmltext ] [ , xpath_namespaces ] [ ; ]

hdoc is the handle to the newly created document. hdoc is an integer.
xmltext is the given XML document in text format. The default value is NULL.
xpath_namespaces is a text parameter which specifies the namespace declarations that are used in row and column XPath expressions in OPENXML. The default value is NULL.


sp_xml_removedocument hdoc [ ; ]

The handle to the already existing created document. A handle that isn't valid returns an error. hdoc is an integer.

BABEL-1168
Signed-off-by: Harsh Dubey harshdu@amazon.com

198 of 223 new or added lines in 2 files covered. (88.79%)

49625 of 65404 relevant lines covered (75.87%)

315127.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
25
88.94
-0.03% contrib/babelfishpg_tsql/src/procedures.c
Jobs
ID Job ID Ran Files Coverage
1 15963897630.1 30 Jun 2025 05:05AM UTC 120
75.87
GitHub Action Run
Source Files on build 15963897630
  • 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 #15963897630
  • 0aa7dc76 on github
  • Prev Build on BABEL-1168 (#15900419209)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc