canonical / canonical/sqlair

Confusing error message for enclosed output argument

Open
#168 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
19
Forks
10
PR merge metrics
No merged PRs in 30d

Description

If you have a sqlair statement with an output wrapped in brackets, the error message is confusing.

```sql
SELECT (&foo.*) FROM foo;
```

Results in ` near \"AS\": syntax error`

The error message should be clear about the unnecessary brackets.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.