-
Notifications
You must be signed in to change notification settings - Fork 88
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
Can't fetch strings over ClickHouse odbc driver #315
Comments
Did you try this https://github.com/ClickHouse/clickhouse-odbc#enabling-driver-manager-tracing-mdacwdac-microsoftwindows-data-access-components ? |
Hi, forgot to restart sql server svc after trace had started. :) Here it is. |
Thanks, @leotausanovic. This PR should address the issue: #316. I haven't tested it in your specific environment, so if you can, please build the driver from that branch and tell me if it actually fixes the problem for you. If you can't build the driver yourself, let me know, I'll prepare a binary for you. |
Hi @traceon , |
@leotausanovic sure, 32 or 64 bit? |
@traceon 64bit, pretty please :) |
@leotausanovic Here you go: clickhouse-odbc-1.1.8-win64.msi.zip |
@traceon thx a lot, will revert you with test results during next week. |
That SQL.LOG doesn't contain the part where the driver returns "Requested conversion is not supported." So it is impossible to tell what kind of call caused this. Meanwhile, the original issue seems to be resolved, and this one is separate. |
Hi @traceon , I saw there is possibility of internal ClickHouse tracing (not standard SQL.LOG trace), maybe this would be helpful? |
No, and this "Requested conversion is not supported." actually not from the driver. You probably need to align column types. |
Yes, will do - thanks for your help! |
I have similar issue in retrieving String data type in php using odbc. I get Out of memory (allocated 8388608) (tried to allocate 18446744073709551613 bytes) |
@dashtimehran what kind of issue exactly? |
this issue is resolved but I haven't been able to fetch strings via openrowset, what's the workaround? edit: the workaround is to use |
I'm trying to fetch data from Clickhouse over ClickHouse ODBC driver using MSSQL OPENROWSET command.
I successfully fetch numeric types, but not strings - here are examples:
Numeric -> success
String -> error
Numeric -> success
String -> error
ClickHouse version = 20.3.15
ODBC driver version = 1.1.8.20200710 (Windows 64 bit)
SQL.LOG file couldn't be generated (tried all the tricks - searching in different temp folders, machine trace, tampering with registry, but with no avail )
Thank you in advance
The text was updated successfully, but these errors were encountered: