Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: SHOW TABLES, DROP TABLE fails if STORAGE_FORMAT is invalid #16662

Closed
1 of 2 tasks
jason-heo opened this issue Oct 23, 2024 · 1 comment · Fixed by #16663
Closed
1 of 2 tasks

bug: SHOW TABLES, DROP TABLE fails if STORAGE_FORMAT is invalid #16662

jason-heo opened this issue Oct 23, 2024 · 1 comment · Fixed by #16663
Labels
C-bug Category: something isn't working

Comments

@jason-heo
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

Version

SELECT VERSION()

┌────────────────────────────────────────────────────────────────────────────────────────┐
│                                        version()                                       │
│                                         String                                         │
├────────────────────────────────────────────────────────────────────────────────────────┤
│ Databend Query v1.2.615-a8da519a63(rust-1.81.0-nightly-2024-08-19T03:29:16.412442905Z) │
└────────────────────────────────────────────────────────────────────────────────────────┘

What's Wrong?

Hello, I'm new to DataBend.

Thank you for GREAT OLAP DB! It's awesome and blazingly fast.

I got a minor bug.

Thank you.

How to Reproduce?

root@localhost:8000/default> CREATE TABLE members
(
  name VARCHAR,
  age INT
)
STORAGE_FORMAT = 'abc';
processed in (0.012 sec)

root@localhost:8000/default> SHOW TABLES;
server warning: Failed to list tables in database: default, UnknownFormat. Code: 1074, Text = unknown fuse storage_format abc.

root@localhost:8000/default> DROP TABLE members;
error: APIError: ResponseError with 1074: error on validating table access
unknown fuse storage_format abc

The only thing I can do to resolve is DROP DATABASE

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@jason-heo jason-heo added the C-bug Category: something isn't working label Oct 23, 2024
@TCeason
Copy link
Collaborator

TCeason commented Oct 23, 2024

Thx. The create need to fail.

CREATE TABLE members
(
  name VARCHAR,
  age INT
)
STORAGE_FORMAT = 'abc';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants