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

drop view t1, t2, ... and drop table t1, t2, ... silently ignores arguments past the first #4531

Closed
alamb opened this issue Dec 6, 2022 · 0 comments · Fixed by #4530
Closed
Assignees
Labels
bug Something isn't working

Comments

@alamb
Copy link
Contributor

alamb commented Dec 6, 2022

Describe the bug
drop view t1, t2, ... and drop table t1, t2, ... silently ignores arguments past the first

To Reproduce

❯ create view foo as select 1;
0 rows in set. Query took 0.020 seconds.
❯ create view bar as select 1;
0 rows in set. Query took 0.000 seconds.
❯ drop view foo, bar;
0 rows in set. Query took 0.000 seconds.
❯ select * from foo;
Plan("table 'datafusion.public.foo' not found")
❯ select * from bar;
+----------+
| Int64(1) |
+----------+
| 1        |
+----------+

Expected behavior
The drop statement should fail

Additional context
Found while working on #4513

@alamb alamb added the bug Something isn't working label Dec 6, 2022
@alamb alamb self-assigned this Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant