Creating a MergeTree table results in an error with the message: Code: 81. DB::Exception: Database _temporary_and_external_tables doesn't exist. (UNKNOWN_DATABASE)
How to reproduce
modified from readme.md example
from chdb import session as chs
sess = chs.Session()
sess.query("CREATE DATABASE IF NOT EXISTS db_xxx ENGINE = Atomic;")
sess.query("use db_xxx;")
sess.query("CREATE TABLE IF NOT EXISTS db_xxx.log_table_xxx (x String, y Int) ENGINE = MergeTree ORDER BY x;")
the use db_xxx; line doesn't seem to affect the outcome and consistently generates an error.
Expected behavior
No error message. Table is created.
Creating a MergeTree table results in an error with the message:
Code: 81. DB::Exception: Database _temporary_and_external_tables doesn't exist. (UNKNOWN_DATABASE)
How to reproduce
modified from readme.md example
the
use db_xxx;
line doesn't seem to affect the outcome and consistently generates an error.Expected behavior No error message. Table is created.