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

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

Build:
Build:
LAST BUILD BRANCH: BABEL_4_9_STABLE
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 14 Oct 2024 04:29PM 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

14 Oct 2024 03:53PM UTC coverage: 74.496% (+0.01%) from 74.485%
11331010303

push

github

web-flow
Support unary '+' operators for strings (#3013)


The T-SQL grammar allows an arbitrary number of unary + operators to precede an expression,
but PG only supports that for numeric expressions. For string expressions, the + will be parsed fine by the T-SQL ANTLR parser, but these will raise an error in PG.
In SQL those unary + string operators may look like they are additional concatenation operators, like: SELECT 'a' ++ 'b'. Expressions such as +++(+++@v)) are also valid syntax according to the T-SQL grammar even though they look unusual.
In this fix we remove such unary + operators, which are redundant anyway.
However we do not touch numeric constants (e.g. +123) since the +, though still redundant, may
have been included for code clarity (e.g. +123 as opposed to -123).

Signed-off-by: Rob Verschoor rcv@amazon.com

Issues Resolved
BABEL-1924 Support unary '+' operator for string expressions

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

45178 of 60645 relevant lines covered (74.5%)

162380.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11331010303.1 14 Oct 2024 04:29PM UTC 0
74.5
GitHub Action Run
Source Files on build 11331010303
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11331010303
  • 8ad86ff8 on github
  • Prev Build on BABEL_4_X_DEV (#11330053821)
  • Next Build on BABEL_4_X_DEV (#11354580442)
  • 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