Closed
Description
Actual Behavior
SELECT r'test' FROM foo
is parsed as SELECT r [AS] 'test' FROM foo
SELECT b'test' FROM foo
is parsed as SELECT b [AS] 'test' FROM foo
SELECT rb'test' FROM foo
is parsed as SELECT rb [AS] 'test' FROM foo
Raw strings literals, byte literals and raw byte literals that are allowed in the Cloud Spanner dialect are not recognized by the parser.
Expected Behavior
SELECT r'test' FROM foo
is should be parsed as SELECT R'test' FROM foo
SELECT b'test' FROM foo
is should be parsed as SELECT B'test' FROM foo
SELECT rb
test' FROM foois should be parsed as
SELECT RB'test' FROM foo`
Raw strings literals, byte literals and raw byte literals should be parsed as literal values.
Steps to Reproduce the Problem
- Execute
SELECT r'test' FROM foo
- Verify that the parsed statement is a Select statement with one SelectItem having an alias called 'test'
Specifications
- Version: 1.3
- Platform:
- Subsystem:
Metadata
Metadata
Assignees
Labels
No labels