-
-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
Describe what's wrong
I tried to create a table in default
database, and it fails without explicit error.
If I create table in non-default
databases, it works as expected.
Does it reproduce on the most recent release?
I'm using chdb v2.1.1
How to reproduce
git clone https://github.com/JakkuSakura/chdb-rust
git switch -d 271543383827da3ed42e4ae883c9d767d5f379f6
./update_libchdb.sh --local
cargo test
I didn't test other chdb clients, but here's the SQL that is falling
CREATE TABLE logs (id UInt64, msg String) ENGINE = MergeTree() ORDER BY id;
INSERT INTO logs (id, msg) VALUES (1, 'test');
Message
Error: QueryError("Code: 60. DB::Exception: Table default.logs does not exist. (UNKNOWN_TABLE)")
If I add:
CREATE DATABASE demo; USE demo
Then it's working
Metadata
Metadata
Assignees
Labels
No labels