Hey all!
I am trying to create and use temporary tables using aiochclient, but I can't find anywhere a way of passing session_id (https://clickhouse.com/docs/en/sql-reference/statements/create/table#temporary-tables)
And therefore whenever I try to query the temporary table in a new query I get:
Unknown table expression identifier 'table_name'
I also tried doing it in a single statement such as
CREATE TEMPORARY TABLE temp_table_name AS
SELECT * FROM table_name;
SELECT * FROM temp_table_name;
but I got
DB::Exception: Syntax error (Multi-statements are not allowed):
Is there a current way of doing this with aiochclient?
Hey all!
I am trying to create and use temporary tables using aiochclient, but I can't find anywhere a way of passing session_id (https://clickhouse.com/docs/en/sql-reference/statements/create/table#temporary-tables)
And therefore whenever I try to query the temporary table in a new query I get:
Unknown table expression identifier 'table_name'
I also tried doing it in a single statement such as
CREATE TEMPORARY TABLE temp_table_name AS
SELECT * FROM table_name;
SELECT * FROM temp_table_name;
but I got
DB::Exception: Syntax error (Multi-statements are not allowed):
Is there a current way of doing this with aiochclient?