`create view` and some other DDL statements always use current database
Open
bug
sql
- Dominant language
- Go
- Stars
- 24.4k
- Forks
- 873
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 121
Description
This means that this won't work:
```sql
create view `mydb/b1`.v1 as select 2+2
```
It instead creates the view on the currently used database, or errors if there isn't one.
This is a limitation in the parser but could be fixed.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.