chdb-io / chdb

chDB is an in-process OLAP SQL Engine 🚀 powered by ClickHouse
https://clickhouse.com/chdb
Apache License 2.0
2.18k stars 75 forks source link

Unable to create MergeTree Table in a session: Database _temporary_and_external_tables doesn't exist. #82

Closed pandada8 closed 1 year ago

pandada8 commented 1 year ago

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

Expected behavior No error message. Table is created.

lmangani commented 1 year ago

Hello @pandada8 thanks for your report. Could you confirm your OS, Python & chdb version/architecture?

lmangani commented 1 year ago

Works in colab with 0.11.5 🎉

image

auxten commented 1 year ago

Todo: Support use db_xxx in chdb session.