-
Notifications
You must be signed in to change notification settings - Fork 127
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
Need to retry result request for get query result by qid #923
Comments
hi and thank you for raising this issue ! we'll take a look |
my colleagues are looking into the issue and could very well reproduce in
but even with additional logging for
and they could not get to Do (any of) you perhaps know a reliable way to reproduce getting this response |
If we look it at the high level, do this:
Right now, I am walking around by checking for no result and no error, and do retry in my application. So do not bog down by the "check the resp.Code", I might be wrong. But the high level behavior needs to be fixed. |
I just ran again, If I place a breakpoint at line 237 in monitoring.go,
After 45 seconds, the resp.Code is 333334 and Success is true. |
this is excellent, thank you so much, should be very helpful for the team ! |
PR review is in progress under #1021 but if you wish, you can already check out the fix branch https://github.com/snowflakedb/gosnowflake/tree/705-WithFetchResultByID and see if it works for you |
PR has been merged and is now available to install from edit: February it is (as it hit |
fix released with gosnowflake 1.8.0 |
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
What version of GO driver are you using?
1.6.23
What operating system and processor architecture are you using?
Linux/x86_64 MacOS/arm64
What version of GO are you using?
go1.19.1
4.Server version:* E.g. 1.90.1
7.35.1
What did you expect to see?
It will return no error and no result after about 45 seconds.
Note that the similar issue for async query is fixed in SNOW-782588: Retry result request for async query if still in progress #824
But still need to fix
rowsForRunningQuery
inmonitoring.go
to check the resp.Code.It is possible for
resp.Code
to bequeryInProgressAsyncCode
after blocking for 45 seconds.Can you set logging to DEBUG and collect the logs?
https://community.snowflake.com/s/article/How-to-generate-log-file-on-Snowflake-connectors
What is your Snowflake account identifier, if any? (Optional)
The text was updated successfully, but these errors were encountered: