Log warnings on ambiguous name qualification and resolution
Open
analyzer
enhancement
- Dominant language
- Go
- Stars
- 24.4k
- Forks
- 873
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 108
Description
In certain cases, MySQL allows ambiguity in referenced names and will register a warning for the query instead of throwing an error. GMS should follow this same behavior for consistency.
An example from [MySQL's `SELECT` Reference Documentation](https://dev.mysql.com/doc/refman/8.0/en/select.html):
> If the HAVING clause refers to a column that is ambiguous, a warning occurs. In the following statement, col2 is ambiguous because it is used as both an alias and a column name:
> `SELECT COUNT(col1) AS col2 FROM t GROUP BY col2 HAVING col2 = 2;`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.