-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Error message with SQL Server #31
Comments
Hello @aersam , yes I do have a hint. Some background facts:
What happens here is that a single query you execute causes some warnings. How does a single query generate so many errors? Typically this happens then one warning is generated per row affected by your query. All it needs then is the query to affect at least So what to do with this information?
I am always interessted to hear more about the usecase and backgrounds. Also curious if you find the above hints helpful, or what you would suggest the behaviour of Thanks for reporting this issue and sorry for the trouble you encounter. Best, Markus |
Hi Markus Your explanations gave me a good hint. I think it might be the Actually I think the ODBC driver should be fixed. One warning per row, isn't that ridiculous? :) |
Hi @aersam ,
I feel flattered, but I am also "lucky" that I am at home with a cold.
Did you resolve the issue? If not, the
I think the driver is fine. There are some parts about the ODBC standard itself which could be improved upon though. One aspect related to this issue is, that it is kind of hard to tell if any column in a Result set contains truncated values, because not enough memory has been allocated for its buffers. E.g. if the There might be some things I could do here, but for now the better error message must suffice. Please tell me if you found your issue. Cheers, Markus |
I did try some stuff, but was not very successful. Switching to datetime did not help. Though I do use arrow-odbc 0.3.7 I do not get diagnostics. How am I supposed to get these? I just do str(Error) I tried odbcsv.exe to query the same Query, this works without error. That's a bit strange to me? |
Thanks for the information. Can explain (almost) everything. Including, why it works with odbcsv. Has to wait until this evening though. In the meantime, with odbcsv (and maybe the -v (verbose) flag) you should see the diagnostics. |
Okay, here the explanation, also for myself as personal reference: Normally The newer version of arrow-odbc should forward you at least one of the diagnostic records in addition to that error. If it is helpful or not depends on your driver, but MSSQL is usually very good in that regard. I would be interested in the complete error message you see in the most recent version.
My current idea how to move forward with this is to combine the benefits of both methods in
Best, Markus |
The |
Working, too! |
Hello @aersam, Thanks for the feedback and the stats. Always nice to hear back. Glad if you are happy about its performance. Cheers, Markus |
Hi there!
After months using this lib in production, we have some error we do not quite understand.
Do you know what that means? :)
The text was updated successfully, but these errors were encountered: