You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the detailed steps to reproduce! A fixed version v0.5.15 should be released shortly.
Even with the fix, I would consider not using temporary tables in your application:
Temporary tables are primarily intended for internal use in some types of query processing. According to Alexey, in most cases they don't perform any faster than a standard MergeTree and you can actually lose some performance benefits based on compression and sorting.
When used over HTTP connection (like ClickHouse Connect), a temporary table is automatically dropped when the session times out. The default session_timeout is 60 seconds, so if your application doesn't issue a query for that time, your temporary table could just disappear.
Because HTTP doesn't maintain a permanent connection, when you "close" the client or your application, the temporary table still remains for the 60 seconds, so it may unexpectedly be there when you try to recreate it (if using the same session id)
Describe the bug
Method
insert_df
doesn't work with TEMPORARY TABLEError:
Problem here
For
TEMPORARY TABLE
we can't use some databaseSteps to reproduce
Expected behaviour
No error
Code example
clickhouse-connect and/or ClickHouse server logs
clickhouse_connect.driver.exceptions.DatabaseError: :HTTPDriver for ******* returned response code 404) Code: 60. DB::Exception: Table default.temp_test_table doesn't exist. (UNKNOWN_TABLE) (version 23.2.3.17 (official build))
Configuration
Environment
We can use
self.database = None
, but i think it's bad solution.The text was updated successfully, but these errors were encountered: