-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The driver does not work #429
Comments
@alexey-milovidov IIRC, you mentioned it was an incorrect usage. Could you provide more details? |
same issue here using the odbc driver from SQL Server (CLICKHOUSEODBCW.DLL 1.02.01.35817 2022-09-09)
the error is intermittent/random but seems related to server load |
@gfody could you elaborate please? |
while testing we noticed that the longer it takes for the queries to execute the more likely we were to hit this exception eg select * from openrowset('MSDASQL',
'Driver={ClickHouse ODBC Driver (Unicode)};username=...;password=...;url=http://...',
'select .... limit 100000') testing with different numbers for if we try setting select * from openrowset('MSDASQL',
'Driver={ClickHouse ODBC Driver (Unicode)};username=...;password=...;url=http://...?session_id=123456789',
'....')
OLE DB provider "MSDASQL" for linked server "(null)" returned message "HTTP status code: 500
Received error:
Code: 373. DB::Exception: Session 123456789 is locked by a concurrent client. (SESSION_IS_LOCKED) (version 23.9.6.20 (official build)) edit - I tested again with session_id in the querystring and it's not 100% of the time, just as frequent as the other cases. It seems that there are windows of time where 100% of requests will hit this exception but it's not due to any of the parameters we were testing. |
It prints
I'm wondering how anyone can use it.
See ClickHouse/ClickHouse#54952
The text was updated successfully, but these errors were encountered: