Skip to content

The parser does not support parenthesis after USING clause #1983

@radegran

Description

@radegran

The parser does not accept left parenthesis after USING clause. The generative AI model I use for generating SQL queries keeps adding parentheses.

Example:

SELECT * FROM ? a JOIN ? b USING (c)

SyntaxError: Parse error on line 1:
... ? a JOIN ? b USING (c)
-----------------------^
Expecting 'LITERAL', 'BRALITERAL', got 'LPAR'

This fiddle shows the details.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions