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

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

Build:
Build:
LAST BUILD BRANCH: datetime2fromparts_bugfix
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 05 Mar 2024 05:55AM UTC
Jobs 1
Files 114
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

05 Mar 2024 05:17AM UTC coverage: 72.237% (+0.002%) from 72.235%
8151409033

push

github

web-flow
Call pltsql_predicate_transformer for NOT expr argument (#2377)

In pltsql_predicate_transformer we recursively call the function for arguments for AND / OR clause. We did not do this
for NOT clause because of that there were cases where LIKE operator inside a NOT clause was not transformed.

example: SELECT COUNT(*) FROM babel_4566 WHERE 1=1 AND NOT OBJECT_NAME(id) LIKE '%Blah%'
In this query the top clause is AND. So, we analyse its arguments individually. Then one of the predicates is a NOT
clause and previously we directly returned it without transforming its like operator. With this fix, the arguments of NOT
will again be passed to pltsql_predicate_transformer for further break down and transformation.

As a fix, we handle NOT clause similar to AND/OR and call the pltsql_predicate_transformer recursively for its
argument. NOT clause only has one argument, but ipltsql_predicate_transformer still needs to be called for its
argument again.

Task: BABEL-4566
Signed-off-by: Tanzeel Khan <tzlkhan@amazon.com>

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

40402 of 55930 relevant lines covered (72.24%)

58588.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8151409033.1 05 Mar 2024 05:55AM UTC 114
72.24
GitHub Action Run
Source Files on build 8151409033
  • Tree
  • List 114
  • Changed 67
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #8151409033
  • 9aa8fb13 on github
  • Prev Build on BABEL_4_X_DEV (#8151381536)
  • Next Build on BABEL_4_X_DEV (#8162384535)
  • 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