Skip to content

sql: confusing error when creating table with no active db #24056

@jordanlewis

Description

@jordanlewis

Undoubtedly, this will confuse users. The error message should not be so cryptic.

root@:26257/> create table a (a int primary key);
pq: invalid target name: "a"

Metadata

Metadata

Assignees

Labels

S-3-ux-surpriseIssue leaves users wondering whether CRDB is behaving properly. Likely to hurt reputation/adoption.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions