-
Notifications
You must be signed in to change notification settings - Fork 480
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
SNOW-1559272: get_results_from_sfqid(query_id) vs query_result(query_id) #2009
Comments
Hello @copdips , Thanks for raising the issue, we are checking with team, I am getting identical results for both of them. `import snowflake.connector snowflake_config = { with snowflake.connector.connect(**snowflake_config) as con:
Output: Query ID: 01b67f09-080b-11df-0000-164926dfee9a ` {'SEQ': 1, 'LAST_NAME': 'AAAAAAA', 'FIRST_NAME': 'Maxwell'} Regards, |
It is precisely because the results of these two methods are the same that I would like to ask what specific differences there are between them. |
Hello @copdips , Sure, will work on modifying the documentation. Regards, |
What is the current behavior?
In the doc, it only talks about
cursor.get_results_from_sfqid(query_id)
What is the desired behavior?
we need a clarification on the difference between
cursor.get_results_from_sfqid(query_id)
andcursor.query_result(query_id)
How would this improve
snowflake-connector-python
?to let people know how to use these functions in different use cases.
References and other background
No response
The text was updated successfully, but these errors were encountered: