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

babelfish-for-postgresql / babelfish_extensions / 10088092084 / 1
76%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: BABEL_5_5_STABLE
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 25 Jul 2024 05:04AM UTC
Files 114
Run time 6s
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

25 Jul 2024 04:20AM UTC coverage: 73.267% (+0.05%) from 73.219%
10088092084.1

push

github

web-flow
Added wrapper function for TRIM, LTRIM, RTRIM, LEFT and RIGHT (#2481)

Currently, for string functions TRIM, LTRIM, RTRIM, LEFT and RIGHT underlying Postgres function is being used which
leads to incorrect output behaviour. This commit will fix this issue by adding wrapper functions for these string
functions.

Changes included in this commit are as follows:-

1. Added wrapper functions for TRIM, LTRIM, RTRIM, LEFT and RIGHT.
2. Added hook func_select_candidate_for_special_hook for selecting best candidate among list of functions definitions
based on return type for string functions which are in special function list.
3. Updated definition of function pltsql_report_proc_not_found_error  to include input_typeids of function.
4. Added PG_CATALOG namespace before TRIM, LTRIM, RTRIM, LEFT or RIGHT function invocations in some of the
system functions as with these wrapper definitions of TRIM, LTRIM, RTRIM, LEFT and RIGHT functions in sys
namespace, any function invocation of TRIM, LTRIM, RTRIM, LEFT or RIGHT function without namespace, by default it
will call the function in sys namespace.
4. Added new test files and updated existing test files expected output as the output behaviour of these functions will
change with this fix.
5. In case of Inline Table Valued Function(ITVF), made changes such that if the return type of body is different than
return type stored for during creation of ITVF, an implicit cast will occur and return type of body will be casted to return
type stored.
6. fixed composite actions to avoid replacing partial word for test files present in schedule file of upgrades.

Engine PR: babelfish-for-postgresql/postgresql_modified_for_babelfish#342

Task: BABEL-4489
Signed-off-by: Rohit Bhagat <rohitbgt@amazon.com>

43039 of 58743 relevant lines covered (73.27%)

114599.63 hits per line

Source Files on job 10088092084.1
  • Tree
  • List 0
  • Changed 77
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10088092084
  • a1b5bce9 on github
  • Prev Job for on BABEL_4_X_DEV (#10071838316.1)
  • Next Job for on BABEL_4_X_DEV (#10096853962.1)
  • 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