opt: confusing error when creating view due to non-existent column #84178
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
E-quick-win
Likely to be a quick win for someone experienced.
T-sql-queries
SQL Queries Team
This is a new issue for a problem identified by @simplenotezy in #10028. The original comment is copied below.
Not sure why, but when we're trying to create a view like so:
We are getting the same error:
Not sure why, since we're not using
SELECT *
Update
Turns out the error was triggered because of the
ON
statement was pointing to a non-existing column (id - should have been user_id)Originally posted by @simplenotezy in #10028 (comment)
Jira issue: CRDB-17511
The text was updated successfully, but these errors were encountered: