dolthub / dolthub/dolt

`create view` and some other DDL statements always use current database

Open
#6,078 3 comments 0 reactions 1 assignee Claimed by @zachmu View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.