cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
29.92k stars 3.78k forks source link

bulkio: `cockroach userfile list` generates surprising error message #59245

Open postamar opened 3 years ago

postamar commented 3 years ago

Describe the problem

I built master and started a cluster locally with cockroach start-single-node --insecure. In another shell:

$ cockroach userfile list --url='postgresql://root@127.0.0.1:...`
E210121 15:29:44.793045 1 1@cli/error.go:399  unable to match pattern provided: failed to list files from file table: pq: relation "defaultdb.public.userfiles_root_upload_files" does not exist
ERROR: relation "defaultdb.public.userfiles_root_upload_files" does not exist
SQLSTATE: 42P01
Failed running "userfile list"

Expected behavior I don't know if this is supposed to work but based on what I read in the docs I reasonably expect it to. In any case as a user I wouldn't be expecting this kind of error message about a table not existing.

Jira issue: CRDB-3312

github-actions[bot] commented 1 year ago

We have marked this issue as stale because it has been inactive for 18 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to CockroachDB!

msbutler commented 5 days ago

@nickelnickel could you provide more context for why this was reopened with the support label?