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

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

Build:
Build:
LAST BUILD BRANCH: jira-babel-6207
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 14 Oct 2024 04:29PM UTC
Files 115
Run time 4s
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.1

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

45178 of 60645 relevant lines covered (74.5%)

162380.95 hits per line

Source Files on job 11331010303.1
  • Tree
  • List 115
  • Changed 76
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11331010303
  • 8ad86ff8 on github
  • Prev Job for on BABEL_4_X_DEV (#11330053821.1)
  • Next Job for on BABEL_4_X_DEV (#11354580442.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