Skip to content
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

Query still executing response code #48

Closed
nickrobinson opened this issue Dec 12, 2024 · 1 comment
Closed

Query still executing response code #48

nickrobinson opened this issue Dec 12, 2024 · 1 comment

Comments

@nickrobinson
Copy link
Contributor

I ran into an issue using this library where my queries were timing out way earlier than the timeout I specified when defining the client. After debugging a bit I found that I am getting back a response code of 33333 when a query is still in flight. However, the current src/query.rs file seems to have QUERY_IN_PROGRESS_ASYNC_CODE set to 33334. After making this change things started working correctly. Since I'm never seeing the code 33334 come back I was wondering if you had seen it in your own testing, or if both of these codes need to be considered so that the library keeps polling for results.

nickrobinson@0f01c7b

@kenkoooo
Copy link
Member

Thank you for working on this issue! As you mentioned, we might need to handle both status codes appropriately.

ref: https://github.com/snowflakedb/gosnowflake/blob/33645673ee62a4e8d5ddc18575626ee09575d854/restful.go#L26-L30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants