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
I've been testing handling of multiple open queries per single connection functionality for provider and discovered that provider hangs instead of one of two options:
executing second query (I suspect ClickHouse TCP protocol doesn't support it)
throwing guard exception if it is not supported by protocol/provider
Repro:
usingvarcn=newClickHouseConnection(cs);cn.Open();usingvarcmd1=cn.CreateCommand();cmd1.CommandText="select * from system.tables";usingvarrd1=cmd1.ExecuteReader();usingvarcmd2=cn.CreateCommand();cmd2.CommandText="select * from system.tables";// hangs here in ClickHouseTcpClient.OpenSession() callusingvarrd2=cmd2.ExecuteReader();
Hm, looks like it is or beloved MARS feature from MS SQL server.
I doubt CH supports this, even in npgsql it is still "in progress" npgsql/npgsql#462 @victor-sushko can we throw exception something like "OperationInProgressException: A command is already in progress"
I've been testing handling of multiple open queries per single connection functionality for provider and discovered that provider hangs instead of one of two options:
Repro:
The text was updated successfully, but these errors were encountered: