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
Describe the bug
when I execute query statement from clickhouse by six Process Simultaneously. I get this error message:
【Orig exception: Code: 216, e.displayText() = DB::Exception: Query with id = cefe5212-cc01-11ea-b502-6c92bfbaaded is already running. (version 19.16.10.44)】
Then I find the six process create the same query_id in this code frame above:
Describe the bug
when I execute query statement from clickhouse by six Process Simultaneously. I get this error message:
【Orig exception: Code: 216, e.displayText() = DB::Exception: Query with id = cefe5212-cc01-11ea-b502-6c92bfbaaded is already running. (version 19.16.10.44)】
Then I find the six process create the same query_id in this code frame above:
To Reproduce
when use multiprocessing.Pool() to create multi Process, uuid1() print the same uuid string。
Result:
Expected behavior
I think that diffrent query_id should be create when call _begin_query() in https://github.com/xzkostyan/clickhouse-sqlalchemy/blob/08eb01c6b308aa6ba6b7827116a6a93beeeec5cb/clickhouse_sqlalchemy/drivers/http/connector.py
otherwise, clickhouse will return a error about "Query with id = cefe5212-cc01-11ea-b502-6c92bfbaaded is already running. (version 19.16.10.44)
"
Versions
Version of package with the problem
The text was updated successfully, but these errors were encountered: