Jimexist opened a new issue #1269:
URL: https://github.com/apache/arrow-datafusion/issues/1269
**Is your feature request related to a problem or challenge? Please describe
what you are trying to do.**
With #1252 dropping supported, we should not override existing table with
create table as statement.
**Describe the solution you'd like**
### current behavior:
```
❯ create table users as values ('a', 'b');
0 rows in set. Query took 0.001 seconds.
❯ create table users as values ('a', 'b');
0 rows in set. Query took 0.001 seconds.
❯ \d
+---------------+--------------------+------------+------------+
| table_catalog | table_schema | table_name | table_type |
+---------------+--------------------+------------+------------+
| datafusion | public | users | BASE TABLE |
| datafusion | information_schema | tables | VIEW |
| datafusion | information_schema | columns | VIEW |
+---------------+--------------------+------------+------------+
3 rows in set. Query took 0.003 seconds.
```
### expecting
statement to err on the second create.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features
you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]